Class DeploymentConfigReference.Builder
java.lang.Object
software.amazon.awscdk.services.codedeploy.DeploymentConfigReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeploymentConfigReference>
- Enclosing interface:
DeploymentConfigReference
@Stability(Stable)
public static final class DeploymentConfigReference.Builder
extends Object
implements software.amazon.jsii.Builder<DeploymentConfigReference>
A builder for
DeploymentConfigReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.deploymentConfigName
(String deploymentConfigName) Sets the value ofDeploymentConfigReference.getDeploymentConfigName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
deploymentConfigName
@Stability(Stable) public DeploymentConfigReference.Builder deploymentConfigName(String deploymentConfigName) Sets the value ofDeploymentConfigReference.getDeploymentConfigName()
- Parameters:
deploymentConfigName
- The DeploymentConfigName of the DeploymentConfig resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DeploymentConfigReference>
- Returns:
- a new instance of
DeploymentConfigReference
- Throws:
NullPointerException
- if any required attribute was not provided
-