Class CfnCollaboration.MemberSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnCollaboration.MemberSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCollaboration.MemberSpecificationProperty>
- Enclosing interface:
CfnCollaboration.MemberSpecificationProperty
@Stability(Stable)
public static final class CfnCollaboration.MemberSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCollaboration.MemberSpecificationProperty>
A builder for
CfnCollaboration.MemberSpecificationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnCollaboration.MemberSpecificationProperty.getAccountId()
build()
Builds the configured instance.displayName
(String displayName) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getDisplayName()
memberAbilities
(List<String> memberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMemberAbilities()
mlMemberAbilities
(IResolvable mlMemberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMlMemberAbilities()
mlMemberAbilities
(CfnCollaboration.MLMemberAbilitiesProperty mlMemberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMlMemberAbilities()
paymentConfiguration
(IResolvable paymentConfiguration) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getPaymentConfiguration()
paymentConfiguration
(CfnCollaboration.PaymentConfigurationProperty paymentConfiguration) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getPaymentConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
accountId
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder accountId(String accountId) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getAccountId()
- Parameters:
accountId
- The identifier used to reference members of the collaboration. This parameter is required. Currently only supports AWS account ID.- Returns:
this
-
displayName
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder displayName(String displayName) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getDisplayName()
- Parameters:
displayName
- The member's display name. This parameter is required.- Returns:
this
-
memberAbilities
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder memberAbilities(List<String> memberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMemberAbilities()
- Parameters:
memberAbilities
- The abilities granted to the collaboration member. This parameter is required. Allowed Values :CAN_QUERY
|CAN_RECEIVE_RESULTS
- Returns:
this
-
mlMemberAbilities
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder mlMemberAbilities(IResolvable mlMemberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMlMemberAbilities()
- Parameters:
mlMemberAbilities
- The ML abilities granted to the collaboration member.- Returns:
this
-
mlMemberAbilities
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder mlMemberAbilities(CfnCollaboration.MLMemberAbilitiesProperty mlMemberAbilities) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getMlMemberAbilities()
- Parameters:
mlMemberAbilities
- The ML abilities granted to the collaboration member.- Returns:
this
-
paymentConfiguration
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder paymentConfiguration(IResolvable paymentConfiguration) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getPaymentConfiguration()
- Parameters:
paymentConfiguration
- The collaboration member's payment responsibilities set by the collaboration creator. If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.- Returns:
this
-
paymentConfiguration
@Stability(Stable) public CfnCollaboration.MemberSpecificationProperty.Builder paymentConfiguration(CfnCollaboration.PaymentConfigurationProperty paymentConfiguration) Sets the value ofCfnCollaboration.MemberSpecificationProperty.getPaymentConfiguration()
- Parameters:
paymentConfiguration
- The collaboration member's payment responsibilities set by the collaboration creator. If the collaboration creator hasn't specified anyone as the member paying for query compute costs, then the member who can query is the default payer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCollaboration.MemberSpecificationProperty>
- Returns:
- a new instance of
CfnCollaboration.MemberSpecificationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-