Class DeploymentReference.Builder
java.lang.Object
software.amazon.awscdk.interfaces.appconfig.DeploymentReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DeploymentReference>
- Enclosing interface:
DeploymentReference
@Stability(Stable)
public static final class DeploymentReference.Builder
extends Object
implements software.amazon.jsii.Builder<DeploymentReference>
A builder for
DeploymentReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofDeploymentReference.getApplicationId()build()Builds the configured instance.deploymentNumber(String deploymentNumber) Sets the value ofDeploymentReference.getDeploymentNumber()environmentId(String environmentId) Sets the value ofDeploymentReference.getEnvironmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofDeploymentReference.getApplicationId()- Parameters:
applicationId- The ApplicationId of the Deployment resource. This parameter is required.- Returns:
this
-
deploymentNumber
Sets the value ofDeploymentReference.getDeploymentNumber()- Parameters:
deploymentNumber- The DeploymentNumber of the Deployment resource. This parameter is required.- Returns:
this
-
environmentId
Sets the value ofDeploymentReference.getEnvironmentId()- Parameters:
environmentId- The EnvironmentId of the Deployment resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DeploymentReference>- Returns:
- a new instance of
DeploymentReference - Throws:
NullPointerException- if any required attribute was not provided
-