Class CfnMembershipProps.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnMembershipProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMembershipProps>
- Enclosing interface:
CfnMembershipProps
@Stability(Stable)
public static final class CfnMembershipProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMembershipProps>
A builder for
CfnMembershipProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.collaborationIdentifier
(String collaborationIdentifier) Sets the value ofCfnMembershipProps.getCollaborationIdentifier()
defaultResultConfiguration
(IResolvable defaultResultConfiguration) Sets the value ofCfnMembershipProps.getDefaultResultConfiguration()
defaultResultConfiguration
(CfnMembership.MembershipProtectedQueryResultConfigurationProperty defaultResultConfiguration) Sets the value ofCfnMembershipProps.getDefaultResultConfiguration()
paymentConfiguration
(IResolvable paymentConfiguration) Sets the value ofCfnMembershipProps.getPaymentConfiguration()
paymentConfiguration
(CfnMembership.MembershipPaymentConfigurationProperty paymentConfiguration) Sets the value ofCfnMembershipProps.getPaymentConfiguration()
queryLogStatus
(String queryLogStatus) Sets the value ofCfnMembershipProps.getQueryLogStatus()
Sets the value ofCfnMembershipProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collaborationIdentifier
@Stability(Stable) public CfnMembershipProps.Builder collaborationIdentifier(String collaborationIdentifier) Sets the value ofCfnMembershipProps.getCollaborationIdentifier()
- Parameters:
collaborationIdentifier
- The unique ID for the associated collaboration. This parameter is required.- Returns:
this
-
queryLogStatus
Sets the value ofCfnMembershipProps.getQueryLogStatus()
- Parameters:
queryLogStatus
- An indicator as to whether query logging has been enabled or disabled for the membership. This parameter is required.- Returns:
this
-
defaultResultConfiguration
@Stability(Stable) public CfnMembershipProps.Builder defaultResultConfiguration(IResolvable defaultResultConfiguration) Sets the value ofCfnMembershipProps.getDefaultResultConfiguration()
- Parameters:
defaultResultConfiguration
- The default protected query result configuration as specified by the member who can receive results.- Returns:
this
-
defaultResultConfiguration
@Stability(Stable) public CfnMembershipProps.Builder defaultResultConfiguration(CfnMembership.MembershipProtectedQueryResultConfigurationProperty defaultResultConfiguration) Sets the value ofCfnMembershipProps.getDefaultResultConfiguration()
- Parameters:
defaultResultConfiguration
- The default protected query result configuration as specified by the member who can receive results.- Returns:
this
-
paymentConfiguration
@Stability(Stable) public CfnMembershipProps.Builder paymentConfiguration(IResolvable paymentConfiguration) Sets the value ofCfnMembershipProps.getPaymentConfiguration()
- Parameters:
paymentConfiguration
- The payment responsibilities accepted by the collaboration member.- Returns:
this
-
paymentConfiguration
@Stability(Stable) public CfnMembershipProps.Builder paymentConfiguration(CfnMembership.MembershipPaymentConfigurationProperty paymentConfiguration) Sets the value ofCfnMembershipProps.getPaymentConfiguration()
- Parameters:
paymentConfiguration
- The payment responsibilities accepted by the collaboration member.- Returns:
this
-
tags
Sets the value ofCfnMembershipProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnMembershipProps>
- Returns:
- a new instance of
CfnMembershipProps
- Throws:
NullPointerException
- if any required attribute was not provided
-