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