Package software.amazon.awscdk
Class CfnCodeDeployBlueGreenApplication.Builder
java.lang.Object
software.amazon.awscdk.CfnCodeDeployBlueGreenApplication.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCodeDeployBlueGreenApplication>
- Enclosing interface:
CfnCodeDeployBlueGreenApplication
@Stability(Stable)
public static final class CfnCodeDeployBlueGreenApplication.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCodeDeployBlueGreenApplication>
A builder for
CfnCodeDeployBlueGreenApplication
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.ecsAttributes
(CfnCodeDeployBlueGreenEcsAttributes ecsAttributes) Sets the value ofCfnCodeDeployBlueGreenApplication.getEcsAttributes()
Sets the value ofCfnCodeDeployBlueGreenApplication.getTarget()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ecsAttributes
@Stability(Stable) public CfnCodeDeployBlueGreenApplication.Builder ecsAttributes(CfnCodeDeployBlueGreenEcsAttributes ecsAttributes) Sets the value ofCfnCodeDeployBlueGreenApplication.getEcsAttributes()
- Parameters:
ecsAttributes
- The detailed attributes of the deployed target. This parameter is required.- Returns:
this
-
target
@Stability(Stable) public CfnCodeDeployBlueGreenApplication.Builder target(CfnCodeDeployBlueGreenApplicationTarget target) Sets the value ofCfnCodeDeployBlueGreenApplication.getTarget()
- Parameters:
target
- The target that is being deployed. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCodeDeployBlueGreenApplication>
- Returns:
- a new instance of
CfnCodeDeployBlueGreenApplication
- Throws:
NullPointerException
- if any required attribute was not provided
-