Class CfnApprovalTeamPropsMixin.ApprovalStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mpa.CfnApprovalTeamPropsMixin.ApprovalStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApprovalTeamPropsMixin.ApprovalStrategyProperty>
- Enclosing interface:
CfnApprovalTeamPropsMixin.ApprovalStrategyProperty
@Stability(Stable)
public static final class CfnApprovalTeamPropsMixin.ApprovalStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApprovalTeamPropsMixin.ApprovalStrategyProperty>
A builder for
CfnApprovalTeamPropsMixin.ApprovalStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnApprovalTeamPropsMixin.ApprovalStrategyProperty.getMofN()mofN(IResolvable mofN) Sets the value ofCfnApprovalTeamPropsMixin.ApprovalStrategyProperty.getMofN()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mofN
@Stability(Stable) public CfnApprovalTeamPropsMixin.ApprovalStrategyProperty.Builder mofN(IResolvable mofN) Sets the value ofCfnApprovalTeamPropsMixin.ApprovalStrategyProperty.getMofN()- Parameters:
mofN- Minimum number of approvals (M) required for a total number of approvers (N).- Returns:
this
-
mofN
@Stability(Stable) public CfnApprovalTeamPropsMixin.ApprovalStrategyProperty.Builder mofN(CfnApprovalTeamPropsMixin.MofNApprovalStrategyProperty mofN) Sets the value ofCfnApprovalTeamPropsMixin.ApprovalStrategyProperty.getMofN()- Parameters:
mofN- Minimum number of approvals (M) required for a total number of approvers (N).- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnApprovalTeamPropsMixin.ApprovalStrategyProperty>- Returns:
- a new instance of
CfnApprovalTeamPropsMixin.ApprovalStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-