@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ShutdownEventConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The Shutdown event configuration.
Constructor and Description |
---|
ShutdownEventConfiguration() |
Modifier and Type | Method and Description |
---|---|
ShutdownEventConfiguration |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDelayUntilElbConnectionsDrained()
Whether to enable Elastic Load Balancing connection draining.
|
Integer |
getExecutionTimeout()
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an
instance.
|
int |
hashCode() |
Boolean |
isDelayUntilElbConnectionsDrained()
Whether to enable Elastic Load Balancing connection draining.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDelayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained)
Whether to enable Elastic Load Balancing connection draining.
|
void |
setExecutionTimeout(Integer executionTimeout)
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an
instance.
|
String |
toString()
Returns a string representation of this object.
|
ShutdownEventConfiguration |
withDelayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained)
Whether to enable Elastic Load Balancing connection draining.
|
ShutdownEventConfiguration |
withExecutionTimeout(Integer executionTimeout)
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an
instance.
|
public void setExecutionTimeout(Integer executionTimeout)
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
executionTimeout
- The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an
instance.public Integer getExecutionTimeout()
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
public ShutdownEventConfiguration withExecutionTimeout(Integer executionTimeout)
The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an instance.
executionTimeout
- The time, in seconds, that OpsWorks Stacks waits after triggering a Shutdown event before shutting down an
instance.public void setDelayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained)
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Drainingpublic Boolean getDelayUntilElbConnectionsDrained()
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
public ShutdownEventConfiguration withDelayUntilElbConnectionsDrained(Boolean delayUntilElbConnectionsDrained)
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
delayUntilElbConnectionsDrained
- Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Drainingpublic Boolean isDelayUntilElbConnectionsDrained()
Whether to enable Elastic Load Balancing connection draining. For more information, see Connection Draining
public String toString()
toString
in class Object
Object.toString()
public ShutdownEventConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.