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