Class DisableFastSnapshotRestoreSuccessItem
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.DisableFastSnapshotRestoreSuccessItem
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<DisableFastSnapshotRestoreSuccessItem.Builder,DisableFastSnapshotRestoreSuccessItem>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
DisableFastSnapshotRestoreSuccessItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
availabilityZone()
The Availability Zone.static DisableFastSnapshotRestoreSuccessItem.Builder
builder()
Instant
disabledTime()
The time at which fast snapshot restores entered thedisabled
state.Instant
disablingTime()
The time at which fast snapshot restores entered thedisabling
state.Instant
enabledTime()
The time at which fast snapshot restores entered theenabled
state.Instant
enablingTime()
The time at which fast snapshot restores entered theenabling
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 theoptimizing
state.String
ownerAlias()
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot.String
ownerId()
The ID of the Amazon Web Services 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.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
snapshotId
public final String snapshotId()
The ID of the snapshot.
- Returns:
- The ID of the snapshot.
-
availabilityZone
public final String availabilityZone()
The Availability Zone.
- Returns:
- The Availability Zone.
-
state
public final 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 returnFastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of fast snapshot restores for the snapshot.
- See Also:
FastSnapshotRestoreStateCode
-
stateAsString
public final 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 returnFastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstateAsString()
.- Returns:
- The state of fast snapshot restores for the snapshot.
- See Also:
FastSnapshotRestoreStateCode
-
stateTransitionReason
public final String stateTransitionReason()
The reason for the state transition. The possible values are as follows:
-
Client.UserInitiated
- The state successfully transitioned toenabling
ordisabling
. -
Client.UserInitiated - Lifecycle state transition
- The state successfully transitioned tooptimizing
,enabled
, ordisabled
.
- Returns:
- The reason for the state transition. The possible values are as follows:
-
Client.UserInitiated
- The state successfully transitioned toenabling
ordisabling
. -
Client.UserInitiated - Lifecycle state transition
- The state successfully transitioned tooptimizing
,enabled
, ordisabled
.
-
-
-
ownerId
public final String ownerId()
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
- Returns:
- The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
-
ownerAlias
public final String ownerAlias()
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
- Returns:
- The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
-
enablingTime
public final Instant enablingTime()
The time at which fast snapshot restores entered the
enabling
state.- Returns:
- The time at which fast snapshot restores entered the
enabling
state.
-
optimizingTime
public final Instant optimizingTime()
The time at which fast snapshot restores entered the
optimizing
state.- Returns:
- The time at which fast snapshot restores entered the
optimizing
state.
-
enabledTime
public final Instant enabledTime()
The time at which fast snapshot restores entered the
enabled
state.- Returns:
- The time at which fast snapshot restores entered the
enabled
state.
-
disablingTime
public final Instant disablingTime()
The time at which fast snapshot restores entered the
disabling
state.- Returns:
- The time at which fast snapshot restores entered the
disabling
state.
-
disabledTime
public final Instant disabledTime()
The time at which fast snapshot restores entered the
disabled
state.- Returns:
- The time at which fast snapshot restores entered the
disabled
state.
-
toBuilder
public DisableFastSnapshotRestoreSuccessItem.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DisableFastSnapshotRestoreSuccessItem.Builder,DisableFastSnapshotRestoreSuccessItem>
-
builder
public static DisableFastSnapshotRestoreSuccessItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends DisableFastSnapshotRestoreSuccessItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-