Class CfnDeploymentProps.Builder
java.lang.Object
software.amazon.awscdk.services.networksecuritymanager.CfnDeploymentProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentProps>
- Enclosing interface:
CfnDeploymentProps
@Stability(Stable)
public static final class CfnDeploymentProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentProps>
A builder for
CfnDeploymentProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassociatedPolicyList(List<? extends Object> associatedPolicyList) Sets the value ofCfnDeploymentProps.getAssociatedPolicyList()associatedPolicyList(IResolvable associatedPolicyList) Sets the value ofCfnDeploymentProps.getAssociatedPolicyList()associatedScopeList(List<? extends Object> associatedScopeList) Sets the value ofCfnDeploymentProps.getAssociatedScopeList()associatedScopeList(IResolvable associatedScopeList) Sets the value ofCfnDeploymentProps.getAssociatedScopeList()build()Builds the configured instance.deploymentConfiguration(IResolvable deploymentConfiguration) Sets the value ofCfnDeploymentProps.getDeploymentConfiguration()deploymentConfiguration(CfnDeployment.DeploymentConfigurationProperty deploymentConfiguration) Sets the value ofCfnDeploymentProps.getDeploymentConfiguration()deploymentDescription(String deploymentDescription) Sets the value ofCfnDeploymentProps.getDeploymentDescription()deploymentName(String deploymentName) Sets the value ofCfnDeploymentProps.getDeploymentName()Sets the value ofCfnDeploymentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentName
Sets the value ofCfnDeploymentProps.getDeploymentName()- Parameters:
deploymentName- The name of the deployment. This parameter is required.- Returns:
this
-
associatedPolicyList
@Stability(Stable) public CfnDeploymentProps.Builder associatedPolicyList(IResolvable associatedPolicyList) Sets the value ofCfnDeploymentProps.getAssociatedPolicyList()- Parameters:
associatedPolicyList- List of policies associated with this deployment.- Returns:
this
-
associatedPolicyList
@Stability(Stable) public CfnDeploymentProps.Builder associatedPolicyList(List<? extends Object> associatedPolicyList) Sets the value ofCfnDeploymentProps.getAssociatedPolicyList()- Parameters:
associatedPolicyList- List of policies associated with this deployment.- Returns:
this
-
associatedScopeList
@Stability(Stable) public CfnDeploymentProps.Builder associatedScopeList(IResolvable associatedScopeList) Sets the value ofCfnDeploymentProps.getAssociatedScopeList()- Parameters:
associatedScopeList- List of scopes associated with this deployment.- Returns:
this
-
associatedScopeList
@Stability(Stable) public CfnDeploymentProps.Builder associatedScopeList(List<? extends Object> associatedScopeList) Sets the value ofCfnDeploymentProps.getAssociatedScopeList()- Parameters:
associatedScopeList- List of scopes associated with this deployment.- Returns:
this
-
deploymentConfiguration
@Stability(Stable) public CfnDeploymentProps.Builder deploymentConfiguration(IResolvable deploymentConfiguration) Sets the value ofCfnDeploymentProps.getDeploymentConfiguration()- Parameters:
deploymentConfiguration- Configuration settings for the deployment.- Returns:
this
-
deploymentConfiguration
@Stability(Stable) public CfnDeploymentProps.Builder deploymentConfiguration(CfnDeployment.DeploymentConfigurationProperty deploymentConfiguration) Sets the value ofCfnDeploymentProps.getDeploymentConfiguration()- Parameters:
deploymentConfiguration- Configuration settings for the deployment.- Returns:
this
-
deploymentDescription
@Stability(Stable) public CfnDeploymentProps.Builder deploymentDescription(String deploymentDescription) Sets the value ofCfnDeploymentProps.getDeploymentDescription()- Parameters:
deploymentDescription- A description of the deployment.- Returns:
this
-
tags
Sets the value ofCfnDeploymentProps.getTags()- Parameters:
tags- The tags associated with the deployment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentProps>- Returns:
- a new instance of
CfnDeploymentProps - Throws:
NullPointerException- if any required attribute was not provided
-