Class LaunchTemplateHibernationOptionsRequest
java.lang.Object
software.amazon.awssdk.services.ec2.model.LaunchTemplateHibernationOptionsRequest
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<LaunchTemplateHibernationOptionsRequest.Builder,LaunchTemplateHibernationOptionsRequest>
@Generated("software.amazon.awssdk:codegen")
public final class LaunchTemplateHibernationOptionsRequest
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateHibernationOptionsRequest.Builder,LaunchTemplateHibernationOptionsRequest>
Indicates whether the instance is configured for hibernation. This parameter is valid only if the instance meets the hibernation prerequisites.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanIf you set this parameter totrue, the instance is enabled for hibernation.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends LaunchTemplateHibernationOptionsRequest.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
configured
If you set this parameter to
true, the instance is enabled for hibernation.Default:
false- Returns:
- If you set this parameter to
true, the instance is enabled for hibernation.Default:
false
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<LaunchTemplateHibernationOptionsRequest.Builder,LaunchTemplateHibernationOptionsRequest>
-
builder
-
serializableBuilderClass
public static Class<? extends LaunchTemplateHibernationOptionsRequest.Builder> serializableBuilderClass() -
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-