Builder


class Builder
kotlin.Any
   ↳ android.adservices.customaudience.LeaveCustomAudienceRequest.Builder

Builder for LeaveCustomAudienceRequest objects.

Summary

Public constructors

Public methods
LeaveCustomAudienceRequest

Builds an instance of a LeaveCustomAudienceRequest.

LeaveCustomAudienceRequest.Builder

Sets the buyer AdTechIdentifier.

LeaveCustomAudienceRequest.Builder
setName(name: String)

Sets the CustomAudience object's name.

Public constructors

Builder

Builder()

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.