Builder


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

Builder for RemoveCustomAudienceOverrideRequest objects.

Summary

Public constructors

Public methods
RemoveCustomAudienceOverrideRequest

Builds a RemoveCustomAudienceOverrideRequest instance.

RemoveCustomAudienceOverrideRequest.Builder

Sets the buyer AdTechIdentifier for the custom audience.

RemoveCustomAudienceOverrideRequest.Builder
setName(name: String)

Sets the name for the custom audience that was overridden.

Public constructors

Builder

Builder()

Public methods

build

fun build(): RemoveCustomAudienceOverrideRequest

Builds a RemoveCustomAudienceOverrideRequest instance.

Return
RemoveCustomAudienceOverrideRequest This value cannot be null.

setBuyer

fun setBuyer(buyer: AdTechIdentifier): RemoveCustomAudienceOverrideRequest.Builder

Sets the buyer AdTechIdentifier for the custom audience.

Parameters
buyer AdTechIdentifier: This value cannot be null.
Return
RemoveCustomAudienceOverrideRequest.Builder This value cannot be null.

setName

fun setName(name: String): RemoveCustomAudienceOverrideRequest.Builder

Sets the name for the custom audience that was overridden.

Parameters
name String: This value cannot be null.
Return
RemoveCustomAudienceOverrideRequest.Builder This value cannot be null.