Class CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.cleanrooms.CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty>
- Enclosing interface:
CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty
@Stability(Stable)
public static final class CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.isResponsible(Boolean isResponsible) isResponsible(IResolvable isResponsible)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
isResponsible
@Stability(Stable) public CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.Builder isResponsible(Boolean isResponsible) Sets the value ofCfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.getIsResponsible()- Parameters:
isResponsible- Indicates whether the collaboration member has accepted to pay for job compute costs (TRUE) or has not accepted to pay for query and job compute costs (FALSE). There is only one member who pays for queries and jobs.An error message is returned for the following reasons:
- If you set the value to
FALSEbut you are responsible to pay for query and job compute costs. - If you set the value to
TRUEbut you are not responsible to pay for query and job compute costs.
- If you set the value to
- Returns:
this
-
isResponsible
@Stability(Stable) public CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.Builder isResponsible(IResolvable isResponsible) Sets the value ofCfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty.getIsResponsible()- Parameters:
isResponsible- Indicates whether the collaboration member has accepted to pay for job compute costs (TRUE) or has not accepted to pay for query and job compute costs (FALSE). There is only one member who pays for queries and jobs.An error message is returned for the following reasons:
- If you set the value to
FALSEbut you are responsible to pay for query and job compute costs. - If you set the value to
TRUEbut you are not responsible to pay for query and job compute costs.
- If you set the value to
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty>- Returns:
- a new instance of
CfnMembershipPropsMixin.MembershipJobComputePaymentConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-