Class CfnConfiguredTableAssociationProps.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnConfiguredTableAssociationProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredTableAssociationProps>
- Enclosing interface:
CfnConfiguredTableAssociationProps
@Stability(Stable)
public static final class CfnConfiguredTableAssociationProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredTableAssociationProps>
A builder for
CfnConfiguredTableAssociationProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configuredTableAssociationAnalysisRules(List<? extends Object> configuredTableAssociationAnalysisRules) configuredTableAssociationAnalysisRules(IResolvable configuredTableAssociationAnalysisRules) configuredTableIdentifier(String configuredTableIdentifier) Sets the value ofCfnConfiguredTableAssociationProps.getConfiguredTableIdentifier()description(String description) Sets the value ofCfnConfiguredTableAssociationProps.getDescription()membershipIdentifier(String membershipIdentifier) Sets the value ofCfnConfiguredTableAssociationProps.getMembershipIdentifier()Sets the value ofCfnConfiguredTableAssociationProps.getName()Sets the value ofCfnConfiguredTableAssociationProps.getRoleArn()Sets the value ofCfnConfiguredTableAssociationProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configuredTableIdentifier
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder configuredTableIdentifier(String configuredTableIdentifier) Sets the value ofCfnConfiguredTableAssociationProps.getConfiguredTableIdentifier()- Parameters:
configuredTableIdentifier- A unique identifier for the configured table to be associated to. This parameter is required. Currently accepts a configured table ID.- Returns:
this
-
membershipIdentifier
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder membershipIdentifier(String membershipIdentifier) Sets the value ofCfnConfiguredTableAssociationProps.getMembershipIdentifier()- Parameters:
membershipIdentifier- The unique ID for the membership this configured table association belongs to. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnConfiguredTableAssociationProps.getName()- Parameters:
name- The name of the configured table association, in lowercase. This parameter is required. The table is identified by this name when running protected queries against the underlying data.- Returns:
this
-
roleArn
Sets the value ofCfnConfiguredTableAssociationProps.getRoleArn()- Parameters:
roleArn- The service will assume this role to access catalog metadata and query the table. This parameter is required.- Returns:
this
-
configuredTableAssociationAnalysisRules
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder configuredTableAssociationAnalysisRules(IResolvable configuredTableAssociationAnalysisRules) - Parameters:
configuredTableAssociationAnalysisRules- An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, theConfiguredTableAssociationAnalysisRuleis referred to as the collaboration analysis rule .- Returns:
this
-
configuredTableAssociationAnalysisRules
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder configuredTableAssociationAnalysisRules(List<? extends Object> configuredTableAssociationAnalysisRules) - Parameters:
configuredTableAssociationAnalysisRules- An analysis rule for a configured table association. This analysis rule specifies how data from the table can be used within its associated collaboration. In the console, theConfiguredTableAssociationAnalysisRuleis referred to as the collaboration analysis rule .- Returns:
this
-
description
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder description(String description) Sets the value ofCfnConfiguredTableAssociationProps.getDescription()- Parameters:
description- A description of the configured table association.- Returns:
this
-
tags
@Stability(Stable) public CfnConfiguredTableAssociationProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnConfiguredTableAssociationProps.getTags()- 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:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredTableAssociationProps>- Returns:
- a new instance of
CfnConfiguredTableAssociationProps - Throws:
NullPointerException- if any required attribute was not provided
-