Class CfnMembership.MembershipQueryComputePaymentConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanrooms.CfnMembership.MembershipQueryComputePaymentConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMembership.MembershipQueryComputePaymentConfigProperty>
- Enclosing interface:
CfnMembership.MembershipQueryComputePaymentConfigProperty
@Stability(Stable)
public static final class CfnMembership.MembershipQueryComputePaymentConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMembership.MembershipQueryComputePaymentConfigProperty>
-
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 CfnMembership.MembershipQueryComputePaymentConfigProperty.Builder isResponsible(Boolean isResponsible) - Parameters:
isResponsible
- Indicates whether the collaboration member has accepted to pay for query compute costs (TRUE
) or has not accepted to pay for query compute costs (FALSE
). This parameter is required. If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.An error message is returned for the following reasons:
- If you set the value to
FALSE
but you are responsible to pay for query compute costs. - If you set the value to
TRUE
but you are not responsible to pay for query compute costs.
- If you set the value to
- Returns:
this
-
isResponsible
@Stability(Stable) public CfnMembership.MembershipQueryComputePaymentConfigProperty.Builder isResponsible(IResolvable isResponsible) - Parameters:
isResponsible
- Indicates whether the collaboration member has accepted to pay for query compute costs (TRUE
) or has not accepted to pay for query compute costs (FALSE
). This parameter is required. If the collaboration creator has not specified anyone to pay for query compute costs, then the member who can query is the default payer.An error message is returned for the following reasons:
- If you set the value to
FALSE
but you are responsible to pay for query compute costs. - If you set the value to
TRUE
but you are not responsible to pay for query compute costs.
- If you set the value to
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnMembership.MembershipQueryComputePaymentConfigProperty>
- Returns:
- a new instance of
CfnMembership.MembershipQueryComputePaymentConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-