@Generated(value="software.amazon.awssdk:codegen") public final class LaunchTemplateInstanceMaintenanceOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<LaunchTemplateInstanceMaintenanceOptions.Builder,LaunchTemplateInstanceMaintenanceOptions>
The maintenance options of your instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
LaunchTemplateInstanceMaintenanceOptions.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 LaunchTemplateInstanceMaintenanceOptions.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 LaunchTemplateInstanceMaintenanceOptions.Builder> |
serializableBuilderClass() |
LaunchTemplateInstanceMaintenanceOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final LaunchTemplateAutoRecoveryState autoRecovery()
Disables the automatic recovery behavior of your instance or sets it to default.
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().
LaunchTemplateAutoRecoveryStatepublic final String autoRecoveryAsString()
Disables the automatic recovery behavior of your instance or sets it to default.
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().
LaunchTemplateAutoRecoveryStatepublic LaunchTemplateInstanceMaintenanceOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<LaunchTemplateInstanceMaintenanceOptions.Builder,LaunchTemplateInstanceMaintenanceOptions>public static LaunchTemplateInstanceMaintenanceOptions.Builder builder()
public static Class<? extends LaunchTemplateInstanceMaintenanceOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.