StructuredPojo
, ToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>
@Generated("software.amazon.awssdk:codegen") public class DeploymentReadyOption extends Object implements StructuredPojo, ToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Modifier and Type | Class | Description |
---|---|---|
static interface |
DeploymentReadyOption.Builder |
Modifier and Type | Method | Description |
---|---|---|
String |
actionOnTimeout() |
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
static DeploymentReadyOption.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends DeploymentReadyOption.Builder> |
serializableBuilderClass() |
|
DeploymentReadyOption.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Integer |
waitTimeInMinutes() |
The number of minutes to wait before the status of a blue/green deployment changed to Stopped if rerouting is not
started manually.
|
public String actionOnTimeout()
Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.
CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
STOP_DEPLOYMENT: Do not register new instances with load balancer unless traffic is rerouted manually. If traffic is not rerouted manually before the end of the specified wait period, the deployment status is changed to Stopped.
CONTINUE_DEPLOYMENT: Register new instances with the load balancer immediately after the new application revision is installed on the instances in the replacement environment.
STOP_DEPLOYMENT: Do not register new instances with load balancer unless traffic is rerouted manually. If traffic is not rerouted manually before the end of the specified wait period, the deployment status is changed to Stopped.
DeploymentReadyAction
public Integer waitTimeInMinutes()
The number of minutes to wait before the status of a blue/green deployment changed to Stopped if rerouting is not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout
public DeploymentReadyOption.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>
public static DeploymentReadyOption.Builder builder()
public static Class<? extends DeploymentReadyOption.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.