Class ShutdownEventConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.ShutdownEventConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ShutdownEventConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>
The Shutdown event configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShutdownEventConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShutdownEventConfiguration.Builderbuilder()BooleandelayUntilElbConnectionsDrained()Whether to enable Elastic Load Balancing connection draining.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)IntegerexecutionTimeout()The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ShutdownEventConfiguration.Builder>serializableBuilderClass()ShutdownEventConfiguration.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
executionTimeout
public final Integer executionTimeout()
The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
- Returns:
- The time, in seconds, that AWS OpsWorks Stacks will wait after triggering a Shutdown event before shutting down an instance.
-
delayUntilElbConnectionsDrained
public final Boolean delayUntilElbConnectionsDrained()
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
-
toBuilder
public ShutdownEventConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ShutdownEventConfiguration.Builder,ShutdownEventConfiguration>
-
builder
public static ShutdownEventConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ShutdownEventConfiguration.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.
-
-