Stay organized with collections Save and categorize content based on your preferences.

LeaveCustomAudienceRequest.Builder

public static final class LeaveCustomAudienceRequest.Builder
extends Object

java.lang.Object
   ↳ android.adservices.customaudience.LeaveCustomAudienceRequest.Builder


Builder for LeaveCustomAudienceRequest objects.

Summary

Public constructors

Builder()

Public methods

LeaveCustomAudienceRequest build()

Builds an instance of a LeaveCustomAudienceRequest.

LeaveCustomAudienceRequest.Builder setBuyer(AdTechIdentifier buyer)

Sets the buyer AdTechIdentifier.

LeaveCustomAudienceRequest.Builder setName(String name)

Sets the CustomAudience object's name.

Inherited methods

Public constructors

Builder

public Builder ()

Public methods

build

public LeaveCustomAudienceRequest build ()

Builds an instance of a LeaveCustomAudienceRequest.

Returns
LeaveCustomAudienceRequest This value cannot be null.

Throws
NullPointerException if any non-null parameter is null

setBuyer

public LeaveCustomAudienceRequest.Builder setBuyer (AdTechIdentifier buyer)

Sets the buyer AdTechIdentifier.

See LeaveCustomAudienceRequest.getBuyer() for more information.

Parameters
buyer AdTechIdentifier: This value cannot be null.

Returns
LeaveCustomAudienceRequest.Builder This value cannot be null.

setName

public LeaveCustomAudienceRequest.Builder setName (String name)

Sets the CustomAudience object's name.

See LeaveCustomAudienceRequest.getName() for more information.

Parameters
name String: This value cannot be null.

Returns
LeaveCustomAudienceRequest.Builder This value cannot be null.