Class ShutdownEventConfiguration
- All Implemented Interfaces:
Serializable
,Cloneable
The Shutdown event configuration.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Whether to enable Elastic Load Balancing connection draining.The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.int
hashCode()
Whether to enable Elastic Load Balancing connection draining.void
setDelayUntilElbConnectionsDrained
(Boolean delayUntilElbConnectionsDrained) Whether to enable Elastic Load Balancing connection draining.void
setExecutionTimeout
(Integer executionTimeout) The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.toString()
Returns a string representation of this object; useful for testing and debugging.withDelayUntilElbConnectionsDrained
(Boolean delayUntilElbConnectionsDrained) Whether to enable Elastic Load Balancing connection draining.withExecutionTimeout
(Integer executionTimeout) The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
-
Constructor Details
-
ShutdownEventConfiguration
public ShutdownEventConfiguration()
-
-
Method Details
-
setExecutionTimeout
The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
- Parameters:
executionTimeout
- The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
-
getExecutionTimeout
The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
- Returns:
- The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
-
withExecutionTimeout
The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.
- Parameters:
executionTimeout
- The time, in seconds, that AWS OpsWorks will wait after triggering a Shutdown event before shutting down an instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDelayUntilElbConnectionsDrained
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
- Parameters:
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
-
getDelayUntilElbConnectionsDrained
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
- Returns:
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
-
withDelayUntilElbConnectionsDrained
public ShutdownEventConfiguration withDelayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained) Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
- Parameters:
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDelayUntilElbConnectionsDrained
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
- Returns:
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-