UpdateSignalsRequest.Builder

public static final class UpdateSignalsRequest.Builder
extends Object

java.lang.Object
   ↳ android.adservices.signals.UpdateSignalsRequest.Builder


Builder for UpdateSignalsRequest objects.

Summary

Public constructors

Builder(Uri updateUri)

Instantiates a Builder with the Uri from which the signal updates will be fetched.

Public methods

UpdateSignalsRequest build()

Builds an instance of a UpdateSignalsRequest.

UpdateSignalsRequest.Builder setUpdateUri(Uri updateUri)

Sets the Uri from which the JSON is to be fetched.

Inherited methods

Public constructors

Builder

public Builder (Uri updateUri)

Instantiates a Builder with the Uri from which the signal updates will be fetched.

Parameters
updateUri Uri: This value cannot be null.

Public methods

build

public UpdateSignalsRequest build ()

Builds an instance of a UpdateSignalsRequest.

Returns
UpdateSignalsRequest This value cannot be null.

Throws
NullPointerException if any non-null parameter is null.

setUpdateUri

public UpdateSignalsRequest.Builder setUpdateUri (Uri updateUri)

Sets the Uri from which the JSON is to be fetched.

See UpdateSignalsRequest.getUpdateUri() ()} for details.

Parameters
updateUri Uri: This value cannot be null.

Returns
UpdateSignalsRequest.Builder This value cannot be null.