Class EnableFastSnapshotRestoreSuccessItem
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.EnableFastSnapshotRestoreSuccessItem
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnableFastSnapshotRestoreSuccessItem.Builder,EnableFastSnapshotRestoreSuccessItem>
@Generated("software.amazon.awssdk:codegen") public final class EnableFastSnapshotRestoreSuccessItem extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnableFastSnapshotRestoreSuccessItem.Builder,EnableFastSnapshotRestoreSuccessItem>
Describes fast snapshot restores that were successfully enabled.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnableFastSnapshotRestoreSuccessItem.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringavailabilityZone()The Availability Zone.static EnableFastSnapshotRestoreSuccessItem.Builderbuilder()InstantdisabledTime()The time at which fast snapshot restores entered thedisabledstate.InstantdisablingTime()The time at which fast snapshot restores entered thedisablingstate.InstantenabledTime()The time at which fast snapshot restores entered theenabledstate.InstantenablingTime()The time at which fast snapshot restores entered theenablingstate.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantoptimizingTime()The time at which fast snapshot restores entered theoptimizingstate.StringownerAlias()The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot.StringownerId()The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EnableFastSnapshotRestoreSuccessItem.Builder>serializableBuilderClass()StringsnapshotId()The ID of the snapshot.FastSnapshotRestoreStateCodestate()The state of fast snapshot restores.StringstateAsString()The state of fast snapshot restores.StringstateTransitionReason()The reason for the state transition.EnableFastSnapshotRestoreSuccessItem.BuildertoBuilder()StringtoString()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.
If the service returns an enum value that is not available in the current SDK version,
statewill returnFastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of fast snapshot restores.
- See Also:
FastSnapshotRestoreStateCode
-
stateAsString
public final String stateAsString()
The state of fast snapshot restores.
If the service returns an enum value that is not available in the current SDK version,
statewill returnFastSnapshotRestoreStateCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstateAsString().- Returns:
- The state of fast snapshot restores.
- 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 toenablingordisabling. -
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 toenablingordisabling. -
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
enablingstate.- Returns:
- The time at which fast snapshot restores entered the
enablingstate.
-
optimizingTime
public final Instant optimizingTime()
The time at which fast snapshot restores entered the
optimizingstate.- Returns:
- The time at which fast snapshot restores entered the
optimizingstate.
-
enabledTime
public final Instant enabledTime()
The time at which fast snapshot restores entered the
enabledstate.- Returns:
- The time at which fast snapshot restores entered the
enabledstate.
-
disablingTime
public final Instant disablingTime()
The time at which fast snapshot restores entered the
disablingstate.- Returns:
- The time at which fast snapshot restores entered the
disablingstate.
-
disabledTime
public final Instant disabledTime()
The time at which fast snapshot restores entered the
disabledstate.- Returns:
- The time at which fast snapshot restores entered the
disabledstate.
-
toBuilder
public EnableFastSnapshotRestoreSuccessItem.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnableFastSnapshotRestoreSuccessItem.Builder,EnableFastSnapshotRestoreSuccessItem>
-
builder
public static EnableFastSnapshotRestoreSuccessItem.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnableFastSnapshotRestoreSuccessItem.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-