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