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 |
Public methods | |
---|---|
UpdateSignalsRequest
|
build()
Builds an instance of a |
UpdateSignalsRequest.Builder
|
setUpdateUri(Uri updateUri)
Sets the |
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 . |