@Generated(value="software.amazon.awssdk:codegen") public final class InstanceMaintenanceOptions extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceMaintenanceOptions.Builder,InstanceMaintenanceOptions>
The maintenance options for the instance.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceMaintenanceOptions.Builder |
| Modifier and Type | Method and Description |
|---|---|
InstanceAutoRecoveryState |
autoRecovery()
Provides information on the current automatic recovery behavior of your instance.
|
String |
autoRecoveryAsString()
Provides information on the current automatic recovery behavior of your instance.
|
static InstanceMaintenanceOptions.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 InstanceMaintenanceOptions.Builder> |
serializableBuilderClass() |
InstanceMaintenanceOptions.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final InstanceAutoRecoveryState autoRecovery()
Provides information on the current automatic recovery behavior of your instance.
If the service returns an enum value that is not available in the current SDK version, autoRecovery will
return InstanceAutoRecoveryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from autoRecoveryAsString().
InstanceAutoRecoveryStatepublic final String autoRecoveryAsString()
Provides information on the current automatic recovery behavior of your instance.
If the service returns an enum value that is not available in the current SDK version, autoRecovery will
return InstanceAutoRecoveryState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is
available from autoRecoveryAsString().
InstanceAutoRecoveryStatepublic InstanceMaintenanceOptions.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceMaintenanceOptions.Builder,InstanceMaintenanceOptions>public static InstanceMaintenanceOptions.Builder builder()
public static Class<? extends InstanceMaintenanceOptions.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.