@Generated(value="software.amazon.awssdk:codegen") public final 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 and Description |
---|---|
static interface |
DeploymentReadyOption.Builder |
Modifier and Type | Method and Description |
---|---|
DeploymentReadyAction |
actionOnTimeout()
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
String |
actionOnTimeoutAsString()
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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
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.
|
copy
public DeploymentReadyAction 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.
If the service returns an enum value that is not available in the current SDK version, actionOnTimeout
will return DeploymentReadyAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionOnTimeoutAsString()
.
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 String actionOnTimeoutAsString()
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.
If the service returns an enum value that is not available in the current SDK version, actionOnTimeout
will return DeploymentReadyAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from actionOnTimeoutAsString()
.
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.