Class DeploymentReadyOption
- java.lang.Object
-
- software.amazon.awssdk.services.codedeploy.model.DeploymentReadyOption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDeploymentReadyOption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DeploymentReadyActionactionOnTimeout()Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.StringactionOnTimeoutAsString()Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.static DeploymentReadyOption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DeploymentReadyOption.Builder>serializableBuilderClass()DeploymentReadyOption.BuildertoBuilder()StringtoString()Returns a string representation of this object.IntegerwaitTimeInMinutes()The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionOnTimeout
public 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,
actionOnTimeoutwill returnDeploymentReadyAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionOnTimeoutAsString().- Returns:
- 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.
-
- See Also:
DeploymentReadyAction
-
-
actionOnTimeoutAsString
public 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,
actionOnTimeoutwill returnDeploymentReadyAction.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionOnTimeoutAsString().- Returns:
- 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.
-
- See Also:
DeploymentReadyAction
-
-
waitTimeInMinutes
public 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_DEPLOYMENToption foractionOnTimeout.- Returns:
- 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_DEPLOYMENToption foractionOnTimeout.
-
toBuilder
public DeploymentReadyOption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DeploymentReadyOption.Builder,DeploymentReadyOption>
-
builder
public static DeploymentReadyOption.Builder builder()
-
serializableBuilderClass
public static Class<? extends DeploymentReadyOption.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-