Class CfnDeploymentProps.Builder
java.lang.Object
software.amazon.awscdk.services.m2.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationId(String applicationId) Sets the value ofCfnDeploymentProps.getApplicationId()applicationVersion(Number applicationVersion) Sets the value ofCfnDeploymentProps.getApplicationVersion()build()Builds the configured instance.environmentId(String environmentId) Sets the value ofCfnDeploymentProps.getEnvironmentId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
applicationId
Sets the value ofCfnDeploymentProps.getApplicationId()- Parameters:
applicationId- The unique identifier of the application. This parameter is required.- Returns:
this
-
applicationVersion
Sets the value ofCfnDeploymentProps.getApplicationVersion()- Parameters:
applicationVersion- The version of the application. This parameter is required.- Returns:
this
-
environmentId
Sets the value ofCfnDeploymentProps.getEnvironmentId()- Parameters:
environmentId- The unique identifier of the runtime environment. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentProps>- Returns:
- a new instance of
CfnDeploymentProps - Throws:
NullPointerException- if any required attribute was not provided
-