@Generated(value="software.amazon.awssdk:codegen") public class BlueInstanceTerminationOption extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>
Information about whether instances in the original environment are terminated when a blue/green deployment is successful.
| Modifier and Type | Class and Description |
|---|---|
static interface |
BlueInstanceTerminationOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
The action to take on instances in the original environment after a successful blue/green deployment.
|
static BlueInstanceTerminationOption.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
static Class<? extends BlueInstanceTerminationOption.Builder> |
serializableBuilderClass() |
Integer |
terminationWaitTimeInMinutes()
The number of minutes to wait after a successful blue/green deployment before terminating instances from the
original environment.
|
BlueInstanceTerminationOption.Builder |
toBuilder() |
String |
toString() |
public String action()
The action to take on instances in the original environment after a successful blue/green deployment.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
TERMINATE: Instances are terminated after a specified wait time.
KEEP_ALIVE: Instances are left running after they are deregistered from the load balancer and removed from the deployment group.
InstanceActionpublic Integer terminationWaitTimeInMinutes()
The number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.
public BlueInstanceTerminationOption.Builder toBuilder()
toBuilder in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>public static BlueInstanceTerminationOption.Builder builder()
public static Class<? extends BlueInstanceTerminationOption.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.