Interface CreateConfiguredAudienceModelAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CleanRoomsRequest.Builder
,CopyableBuilder<CreateConfiguredAudienceModelAssociationRequest.Builder,
,CreateConfiguredAudienceModelAssociationRequest> SdkBuilder<CreateConfiguredAudienceModelAssociationRequest.Builder,
,CreateConfiguredAudienceModelAssociationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateConfiguredAudienceModelAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptionconfiguredAudienceModelArn
(String configuredAudienceModelArn) A unique identifier for the configured audience model that you want to associate.configuredAudienceModelAssociationName
(String configuredAudienceModelAssociationName) The name of the configured audience model association.description
(String description) A description of the configured audience model association.manageResourcePolicies
(Boolean manageResourcePolicies) WhenTRUE
, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration.membershipIdentifier
(String membershipIdentifier) A unique identifier for one of your memberships for a collaboration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.An optional label that you can assign to a resource when you create it.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cleanrooms.model.CleanRoomsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
membershipIdentifier
CreateConfiguredAudienceModelAssociationRequest.Builder membershipIdentifier(String membershipIdentifier) A unique identifier for one of your memberships for a collaboration. The configured audience model is associated to the collaboration that this membership belongs to. Accepts a membership ID.
- Parameters:
membershipIdentifier
- A unique identifier for one of your memberships for a collaboration. The configured audience model is associated to the collaboration that this membership belongs to. Accepts a membership ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredAudienceModelArn
CreateConfiguredAudienceModelAssociationRequest.Builder configuredAudienceModelArn(String configuredAudienceModelArn) A unique identifier for the configured audience model that you want to associate.
- Parameters:
configuredAudienceModelArn
- A unique identifier for the configured audience model that you want to associate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuredAudienceModelAssociationName
CreateConfiguredAudienceModelAssociationRequest.Builder configuredAudienceModelAssociationName(String configuredAudienceModelAssociationName) The name of the configured audience model association.
- Parameters:
configuredAudienceModelAssociationName
- The name of the configured audience model association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manageResourcePolicies
CreateConfiguredAudienceModelAssociationRequest.Builder manageResourcePolicies(Boolean manageResourcePolicies) When
TRUE
, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration. WhenFALSE
, indicates that the configured audience model resource owner will manage permissions related to the given collaboration.Setting this to
TRUE
requires you to have permissions to create, update, and delete the resource policy for thecleanrooms-ml
resource when you call the DeleteConfiguredAudienceModelAssociation resource. In addition, if you are the collaboration creator and specifyTRUE
, you must have the same permissions when you call the DeleteMember and DeleteCollaboration APIs.- Parameters:
manageResourcePolicies
- WhenTRUE
, indicates that the resource policy for the configured audience model resource being associated is configured for Clean Rooms to manage permissions related to the given collaboration. WhenFALSE
, indicates that the configured audience model resource owner will manage permissions related to the given collaboration.Setting this to
TRUE
requires you to have permissions to create, update, and delete the resource policy for thecleanrooms-ml
resource when you call the DeleteConfiguredAudienceModelAssociation resource. In addition, if you are the collaboration creator and specifyTRUE
, you must have the same permissions when you call the DeleteMember and DeleteCollaboration APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.
- Parameters:
tags
- An optional label that you can assign to a resource when you create it. Each tag consists of a key and an optional value, both of which you define. When you use tagging, you can also use tag-based access control in IAM policies to control access to this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the configured audience model association.
- Parameters:
description
- A description of the configured audience model association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateConfiguredAudienceModelAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateConfiguredAudienceModelAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-