@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceMaintenanceOptionsRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceMaintenanceOptionsRequest.Builder,LaunchTemplateInstanceMaintenanceOptionsRequest>
The maintenance options of your instance.
Modifier and Type | Class and Description |
---|---|
static interface |
LaunchTemplateInstanceMaintenanceOptionsRequest.Builder |
Modifier and Type | Method and Description |
---|---|
LaunchTemplateAutoRecoveryState |
autoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
|
String |
autoRecoveryAsString()
Disables the automatic recovery behavior of your instance or sets it to default.
|
static LaunchTemplateInstanceMaintenanceOptionsRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends LaunchTemplateInstanceMaintenanceOptionsRequest.Builder> |
serializableBuilderClass() |
LaunchTemplateInstanceMaintenanceOptionsRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final LaunchTemplateAutoRecoveryState autoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
If the service returns an enum value that is not available in the current SDK version, autoRecovery
will
return LaunchTemplateAutoRecoveryState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from autoRecoveryAsString()
.
LaunchTemplateAutoRecoveryState
public final String autoRecoveryAsString()
Disables the automatic recovery behavior of your instance or sets it to default. For more information, see Simplified automatic recovery.
If the service returns an enum value that is not available in the current SDK version, autoRecovery
will
return LaunchTemplateAutoRecoveryState.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from autoRecoveryAsString()
.
LaunchTemplateAutoRecoveryState
public LaunchTemplateInstanceMaintenanceOptionsRequest.Builder toBuilder()
public static LaunchTemplateInstanceMaintenanceOptionsRequest.Builder builder()
public static Class<? extends LaunchTemplateInstanceMaintenanceOptionsRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.