@Generated(value="software.amazon.awssdk:codegen") public final class DisableFastSnapshotRestoreSuccessItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DisableFastSnapshotRestoreSuccessItem.Builder,DisableFastSnapshotRestoreSuccessItem>
Describes fast snapshot restores that were successfully disabled.
Modifier and Type | Class and Description |
---|---|
static interface |
DisableFastSnapshotRestoreSuccessItem.Builder |
Modifier and Type | Method and Description |
---|---|
String |
availabilityZone()
The Availability Zone.
|
static DisableFastSnapshotRestoreSuccessItem.Builder |
builder() |
Instant |
disabledTime()
The time at which fast snapshot restores entered the
disabled state. |
Instant |
disablingTime()
The time at which fast snapshot restores entered the
disabling state. |
Instant |
enabledTime()
The time at which fast snapshot restores entered the
enabled state. |
Instant |
enablingTime()
The time at which fast snapshot restores entered the
enabling state. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
optimizingTime()
The time at which fast snapshot restores entered the
optimizing state. |
String |
ownerAlias()
The AWS owner alias that enabled fast snapshot restores on the snapshot.
|
String |
ownerId()
The ID of the AWS account that enabled fast snapshot restores on the snapshot.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DisableFastSnapshotRestoreSuccessItem.Builder> |
serializableBuilderClass() |
String |
snapshotId()
The ID of the snapshot.
|
FastSnapshotRestoreStateCode |
state()
The state of fast snapshot restores for the snapshot.
|
String |
stateAsString()
The state of fast snapshot restores for the snapshot.
|
String |
stateTransitionReason()
The reason for the state transition.
|
DisableFastSnapshotRestoreSuccessItem.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String snapshotId()
The ID of the snapshot.
public String availabilityZone()
The Availability Zone.
public FastSnapshotRestoreStateCode state()
The state of fast snapshot restores for the snapshot.
If the service returns an enum value that is not available in the current SDK version, state
will return
FastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
FastSnapshotRestoreStateCode
public String stateAsString()
The state of fast snapshot restores for the snapshot.
If the service returns an enum value that is not available in the current SDK version, state
will return
FastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from stateAsString()
.
FastSnapshotRestoreStateCode
public String stateTransitionReason()
The reason for the state transition. The possible values are as follows:
Client.UserInitiated
- The state successfully transitioned to enabling
or
disabling
.
Client.UserInitiated - Lifecycle state transition
- The state successfully transitioned to
optimizing
, enabled
, or disabled
.
Client.UserInitiated
- The state successfully transitioned to enabling
or
disabling
.
Client.UserInitiated - Lifecycle state transition
- The state successfully transitioned to
optimizing
, enabled
, or disabled
.
public String ownerId()
The ID of the AWS account that enabled fast snapshot restores on the snapshot.
public String ownerAlias()
The AWS owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
public Instant enablingTime()
The time at which fast snapshot restores entered the enabling
state.
enabling
state.public Instant optimizingTime()
The time at which fast snapshot restores entered the optimizing
state.
optimizing
state.public Instant enabledTime()
The time at which fast snapshot restores entered the enabled
state.
enabled
state.public Instant disablingTime()
The time at which fast snapshot restores entered the disabling
state.
disabling
state.public Instant disabledTime()
The time at which fast snapshot restores entered the disabled
state.
disabled
state.public DisableFastSnapshotRestoreSuccessItem.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DisableFastSnapshotRestoreSuccessItem.Builder,DisableFastSnapshotRestoreSuccessItem>
public static DisableFastSnapshotRestoreSuccessItem.Builder builder()
public static Class<? extends DisableFastSnapshotRestoreSuccessItem.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.