StructuredPojo, ToCopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>@Generated("software.amazon.awssdk:codegen") public class BlueInstanceTerminationOption extends Object implements StructuredPojo, 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 | Description |
|---|---|---|
static interface |
BlueInstanceTerminationOption.Builder |
| Modifier and Type | Method | 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) |
Marshalls this structured data using the given
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() |
Take this object and create a builder that contains all of the current property values of this object.
|
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()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<BlueInstanceTerminationOption.Builder,BlueInstanceTerminationOption>public static BlueInstanceTerminationOption.Builder builder()
public static Class<? extends BlueInstanceTerminationOption.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.