Class CfnDeploymentProps.Builder
java.lang.Object
software.amazon.awscdk.services.appconfig.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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnDeploymentProps.getApplicationId()build()Builds the configured instance.configurationProfileId(String configurationProfileId) Sets the value ofCfnDeploymentProps.getConfigurationProfileId()configurationVersion(String configurationVersion) Sets the value ofCfnDeploymentProps.getConfigurationVersion()deploymentStrategyId(String deploymentStrategyId) Sets the value ofCfnDeploymentProps.getDeploymentStrategyId()description(String description) Sets the value ofCfnDeploymentProps.getDescription()environmentId(String environmentId) Sets the value ofCfnDeploymentProps.getEnvironmentId()kmsKeyIdentifier(String kmsKeyIdentifier) Sets the value ofCfnDeploymentProps.getKmsKeyIdentifier()tags(List<? extends CfnDeployment.TagsProperty> tags) Sets the value ofCfnDeploymentProps.getTags()
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
applicationIdSets the value ofCfnDeploymentProps.getApplicationId()- Parameters:
- applicationId- The application ID. This parameter is required.
- Returns:
- this
 
- 
configurationProfileId@Stability(Stable) public CfnDeploymentProps.Builder configurationProfileId(String configurationProfileId) Sets the value ofCfnDeploymentProps.getConfigurationProfileId()- Parameters:
- configurationProfileId- The configuration profile ID. This parameter is required.
- Returns:
- this
 
- 
configurationVersion@Stability(Stable) public CfnDeploymentProps.Builder configurationVersion(String configurationVersion) Sets the value ofCfnDeploymentProps.getConfigurationVersion()- Parameters:
- configurationVersion- The configuration version to deploy. This parameter is required. If deploying an AWS AppConfig hosted configuration version, you can specify either the version number or version label. For all other configurations, you must specify the version number.
- Returns:
- this
 
- 
deploymentStrategyId@Stability(Stable) public CfnDeploymentProps.Builder deploymentStrategyId(String deploymentStrategyId) Sets the value ofCfnDeploymentProps.getDeploymentStrategyId()- Parameters:
- deploymentStrategyId- The deployment strategy ID. This parameter is required.
- Returns:
- this
 
- 
environmentIdSets the value ofCfnDeploymentProps.getEnvironmentId()- Parameters:
- environmentId- The environment ID. This parameter is required.
- Returns:
- this
 
- 
descriptionSets the value ofCfnDeploymentProps.getDescription()- Parameters:
- description- A description of the deployment.
- Returns:
- this
 
- 
kmsKeyIdentifierSets the value ofCfnDeploymentProps.getKmsKeyIdentifier()- Parameters:
- kmsKeyIdentifier- The AWS KMS key identifier (key ID, key alias, or key ARN). AWS AppConfig uses this ID to encrypt the configuration data using a customer managed key.
- Returns:
- this
 
- 
tags@Stability(Stable) public CfnDeploymentProps.Builder tags(List<? extends CfnDeployment.TagsProperty> tags) Sets the value ofCfnDeploymentProps.getTags()- Parameters:
- tags- Metadata to assign to the deployment. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- Returns:
- this
 
- 
buildBuilds the configured instance.- Specified by:
- buildin interface- software.amazon.jsii.Builder<CfnDeploymentProps>
- Returns:
- a new instance of CfnDeploymentProps
- Throws:
- NullPointerException- if any required attribute was not provided
 
 
-