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 Summary
-
Method Summary
Modifier 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()
dynamicExtensionParameters
(List<? extends Object> dynamicExtensionParameters) Sets the value ofCfnDeploymentProps.getDynamicExtensionParameters()
dynamicExtensionParameters
(IResolvable dynamicExtensionParameters) Sets the value ofCfnDeploymentProps.getDynamicExtensionParameters()
environmentId
(String environmentId) Sets the value ofCfnDeploymentProps.getEnvironmentId()
kmsKeyIdentifier
(String kmsKeyIdentifier) Sets the value ofCfnDeploymentProps.getKmsKeyIdentifier()
Sets the value ofCfnDeploymentProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets 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
-
environmentId
Sets the value ofCfnDeploymentProps.getEnvironmentId()
- Parameters:
environmentId
- The environment ID. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnDeploymentProps.getDescription()
- Parameters:
description
- A description of the deployment.- Returns:
this
-
dynamicExtensionParameters
@Stability(Stable) public CfnDeploymentProps.Builder dynamicExtensionParameters(IResolvable dynamicExtensionParameters) Sets the value ofCfnDeploymentProps.getDynamicExtensionParameters()
- Parameters:
dynamicExtensionParameters
- A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.- Returns:
this
-
dynamicExtensionParameters
@Stability(Stable) public CfnDeploymentProps.Builder dynamicExtensionParameters(List<? extends Object> dynamicExtensionParameters) Sets the value ofCfnDeploymentProps.getDynamicExtensionParameters()
- Parameters:
dynamicExtensionParameters
- A map of dynamic extension parameter names to values to pass to associated extensions withPRE_START_DEPLOYMENT
actions.- Returns:
this
-
kmsKeyIdentifier
Sets the value ofCfnDeploymentProps.getKmsKeyIdentifier()
- Parameters:
kmsKeyIdentifier
- The AWS Key Management Service key identifier (key ID, key alias, or key ARN) provided when the resource was created or updated.- Returns:
this
-
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
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDeploymentProps>
- Returns:
- a new instance of
CfnDeploymentProps
- Throws:
NullPointerException
- if any required attribute was not provided
-