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