public static final class CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.Builder
extends java.lang.Object
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.Builder |
action(java.lang.String action)
Sets the value of
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.getAction() |
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty |
build()
Builds the configured instance.
|
public CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.Builder action(java.lang.String action)
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty.getAction()
action
- The method used to add instances to a replacement environment.
DISCOVER_EXISTING
: Use instances that already exist or will be created manually.COPY_AUTO_SCALING_GROUP
: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.this
public CfnDeploymentGroup.GreenFleetProvisioningOptionProperty build()
CfnDeploymentGroup.GreenFleetProvisioningOptionProperty
java.lang.NullPointerException
- if any required attribute was not provided