@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeploymentReadyOption extends Object implements Serializable, Cloneable, StructuredPojo
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Constructor and Description |
---|
DeploymentReadyOption() |
Modifier and Type | Method and Description |
---|---|
DeploymentReadyOption |
clone() |
boolean |
equals(Object obj) |
String |
getActionOnTimeout()
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
Integer |
getWaitTimeInMinutes()
The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is
not started manually.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setActionOnTimeout(DeploymentReadyAction actionOnTimeout)
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
void |
setActionOnTimeout(String actionOnTimeout)
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
void |
setWaitTimeInMinutes(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.
|
String |
toString()
Returns a string representation of this object.
|
DeploymentReadyOption |
withActionOnTimeout(DeploymentReadyAction actionOnTimeout)
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
DeploymentReadyOption |
withActionOnTimeout(String actionOnTimeout)
Information about when to reroute traffic from an original environment to a replacement environment in a
blue/green deployment.
|
DeploymentReadyOption |
withWaitTimeInMinutes(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.
|
public void setActionOnTimeout(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 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.
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.
DeploymentReadyAction
public String getActionOnTimeout()
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.
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.
DeploymentReadyAction
public DeploymentReadyOption withActionOnTimeout(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 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.
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.
DeploymentReadyAction
public void setActionOnTimeout(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.
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.
DeploymentReadyAction
public DeploymentReadyOption withActionOnTimeout(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.
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.
DeploymentReadyAction
public void setWaitTimeInMinutes(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
.
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
.public Integer getWaitTimeInMinutes()
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 withWaitTimeInMinutes(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
.
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
.public String toString()
toString
in class Object
Object.toString()
public DeploymentReadyOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.