@Generated(value="software.amazon.awssdk:codegen") public final class DeploymentReadyOption extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DeploymentReadyOption.Builder> |
serializableBuilderClass() |
DeploymentReadyOption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
waitTimeInMinutes()
The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is
not started manually.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started 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 a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.
DeploymentReadyActionpublic final 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 a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started 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 a load balancer unless traffic rerouting is started using ContinueDeployment. If traffic rerouting is not started before the end of the specified wait period, the deployment status is changed to Stopped.
DeploymentReadyActionpublic final Integer waitTimeInMinutes()
The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is
not started manually. Applies only to the STOP_DEPLOYMENT option for actionOnTimeout.
STOP_DEPLOYMENT option for
actionOnTimeout.public DeploymentReadyOption.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>public static DeploymentReadyOption.Builder builder()
public static Class<? extends DeploymentReadyOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.