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