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 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. When FALSE, 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 the cleanrooms-ml resource when you call the DeleteConfiguredAudienceModelAssociation resource. In addition, if you are the collaboration creator and specify TRUE, you must have the same permissions when you call the DeleteMember and DeleteCollaboration APIs.

      Parameters:
      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. When FALSE, 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 the cleanrooms-ml resource when you call the DeleteConfiguredAudienceModelAssociation resource. In addition, if you are the collaboration creator and specify TRUE, 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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.