@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GreenFleetProvisioningOption extends Object implements Serializable, Cloneable, StructuredPojo
Information about the instances that belong to the replacement environment in a blue/green deployment.
Constructor and Description |
---|
GreenFleetProvisioningOption() |
Modifier and Type | Method and Description |
---|---|
GreenFleetProvisioningOption |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The method used to add instances to a replacement environment.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAction(GreenFleetProvisioningAction action)
The method used to add instances to a replacement environment.
|
void |
setAction(String action)
The method used to add instances to a replacement environment.
|
String |
toString()
Returns a string representation of this object.
|
GreenFleetProvisioningOption |
withAction(GreenFleetProvisioningAction action)
The method used to add instances to a replacement environment.
|
GreenFleetProvisioningOption |
withAction(String action)
The method used to add instances to a replacement environment.
|
public void setAction(String 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.
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.
GreenFleetProvisioningAction
public String getAction()
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.
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.
GreenFleetProvisioningAction
public GreenFleetProvisioningOption withAction(String 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.
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.
GreenFleetProvisioningAction
public void setAction(GreenFleetProvisioningAction 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.
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.
GreenFleetProvisioningAction
public GreenFleetProvisioningOption withAction(GreenFleetProvisioningAction 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.
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.
GreenFleetProvisioningAction
public String toString()
toString
in class Object
Object.toString()
public GreenFleetProvisioningOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2022. All rights reserved.