Builder
class Builder
kotlin.Any | |
↳ | android.adservices.customaudience.LeaveCustomAudienceRequest.Builder |
Builder for LeaveCustomAudienceRequest
objects.
Summary
Public constructors | |
---|---|
Builder() |
Public methods | |
---|---|
LeaveCustomAudienceRequest |
build() Builds an instance of a |
LeaveCustomAudienceRequest.Builder |
setBuyer(buyer: AdTechIdentifier) Sets the buyer |
LeaveCustomAudienceRequest.Builder |
Sets the |
Public constructors
Public methods
build
fun build(): LeaveCustomAudienceRequest
Builds an instance of a LeaveCustomAudienceRequest
.
Return | |
---|---|
LeaveCustomAudienceRequest |
This value cannot be null . |
Exceptions | |
---|---|
java.lang.NullPointerException |
if any non-null parameter is null |
setBuyer
fun setBuyer(buyer: AdTechIdentifier): LeaveCustomAudienceRequest.Builder
Sets the buyer AdTechIdentifier
.
See getBuyer()
for more information.
Parameters | |
---|---|
buyer |
AdTechIdentifier: This value cannot be null . |
Return | |
---|---|
LeaveCustomAudienceRequest.Builder |
This value cannot be null . |
setName
fun setName(name: String): LeaveCustomAudienceRequest.Builder
Sets the CustomAudience
object's name.
See getName()
for more information.
Parameters | |
---|---|
name |
String: This value cannot be null . |
Return | |
---|---|
LeaveCustomAudienceRequest.Builder |
This value cannot be null . |