@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeFastSnapshotRestoreSuccessItem extends Object implements Serializable, Cloneable
Describes fast snapshot restores for a snapshot.
| Constructor and Description |
|---|
DescribeFastSnapshotRestoreSuccessItem() |
| Modifier and Type | Method and Description |
|---|---|
DescribeFastSnapshotRestoreSuccessItem |
clone() |
boolean |
equals(Object obj) |
String |
getAvailabilityZone()
The Availability Zone.
|
Date |
getDisabledTime()
The time at which fast snapshot restores entered the
disabled state. |
Date |
getDisablingTime()
The time at which fast snapshot restores entered the
disabling state. |
Date |
getEnabledTime()
The time at which fast snapshot restores entered the
enabled state. |
Date |
getEnablingTime()
The time at which fast snapshot restores entered the
enabling state. |
Date |
getOptimizingTime()
The time at which fast snapshot restores entered the
optimizing state. |
String |
getOwnerAlias()
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getState()
The state of fast snapshot restores.
|
String |
getStateTransitionReason()
The reason for the state transition.
|
int |
hashCode() |
void |
setAvailabilityZone(String availabilityZone)
The Availability Zone.
|
void |
setDisabledTime(Date disabledTime)
The time at which fast snapshot restores entered the
disabled state. |
void |
setDisablingTime(Date disablingTime)
The time at which fast snapshot restores entered the
disabling state. |
void |
setEnabledTime(Date enabledTime)
The time at which fast snapshot restores entered the
enabled state. |
void |
setEnablingTime(Date enablingTime)
The time at which fast snapshot restores entered the
enabling state. |
void |
setOptimizingTime(Date optimizingTime)
The time at which fast snapshot restores entered the
optimizing state. |
void |
setOwnerAlias(String ownerAlias)
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setState(String state)
The state of fast snapshot restores.
|
void |
setStateTransitionReason(String stateTransitionReason)
The reason for the state transition.
|
String |
toString()
Returns a string representation of this object.
|
DescribeFastSnapshotRestoreSuccessItem |
withAvailabilityZone(String availabilityZone)
The Availability Zone.
|
DescribeFastSnapshotRestoreSuccessItem |
withDisabledTime(Date disabledTime)
The time at which fast snapshot restores entered the
disabled state. |
DescribeFastSnapshotRestoreSuccessItem |
withDisablingTime(Date disablingTime)
The time at which fast snapshot restores entered the
disabling state. |
DescribeFastSnapshotRestoreSuccessItem |
withEnabledTime(Date enabledTime)
The time at which fast snapshot restores entered the
enabled state. |
DescribeFastSnapshotRestoreSuccessItem |
withEnablingTime(Date enablingTime)
The time at which fast snapshot restores entered the
enabling state. |
DescribeFastSnapshotRestoreSuccessItem |
withOptimizingTime(Date optimizingTime)
The time at which fast snapshot restores entered the
optimizing state. |
DescribeFastSnapshotRestoreSuccessItem |
withOwnerAlias(String ownerAlias)
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot.
|
DescribeFastSnapshotRestoreSuccessItem |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
|
DescribeFastSnapshotRestoreSuccessItem |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
DescribeFastSnapshotRestoreSuccessItem |
withState(FastSnapshotRestoreStateCode state)
The state of fast snapshot restores.
|
DescribeFastSnapshotRestoreSuccessItem |
withState(String state)
The state of fast snapshot restores.
|
DescribeFastSnapshotRestoreSuccessItem |
withStateTransitionReason(String stateTransitionReason)
The reason for the state transition.
|
public DescribeFastSnapshotRestoreSuccessItem()
public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public DescribeFastSnapshotRestoreSuccessItem withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId - The ID of the snapshot.public void setAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.public String getAvailabilityZone()
The Availability Zone.
public DescribeFastSnapshotRestoreSuccessItem withAvailabilityZone(String availabilityZone)
The Availability Zone.
availabilityZone - The Availability Zone.public void setState(String state)
The state of fast snapshot restores.
state - The state of fast snapshot restores.FastSnapshotRestoreStateCodepublic String getState()
The state of fast snapshot restores.
FastSnapshotRestoreStateCodepublic DescribeFastSnapshotRestoreSuccessItem withState(String state)
The state of fast snapshot restores.
state - The state of fast snapshot restores.FastSnapshotRestoreStateCodepublic DescribeFastSnapshotRestoreSuccessItem withState(FastSnapshotRestoreStateCode state)
The state of fast snapshot restores.
state - The state of fast snapshot restores.FastSnapshotRestoreStateCodepublic void setStateTransitionReason(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.
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.
public String getStateTransitionReason()
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 DescribeFastSnapshotRestoreSuccessItem withStateTransitionReason(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.
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.
public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
ownerId - The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.public String getOwnerId()
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
public DescribeFastSnapshotRestoreSuccessItem withOwnerId(String ownerId)
The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.
ownerId - The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot.public void setOwnerAlias(String ownerAlias)
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
ownerAlias - The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended
for future use.public String getOwnerAlias()
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
public DescribeFastSnapshotRestoreSuccessItem withOwnerAlias(String ownerAlias)
The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended for future use.
ownerAlias - The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. This is intended
for future use.public void setEnablingTime(Date enablingTime)
The time at which fast snapshot restores entered the enabling state.
enablingTime - The time at which fast snapshot restores entered the enabling state.public Date getEnablingTime()
The time at which fast snapshot restores entered the enabling state.
enabling state.public DescribeFastSnapshotRestoreSuccessItem withEnablingTime(Date enablingTime)
The time at which fast snapshot restores entered the enabling state.
enablingTime - The time at which fast snapshot restores entered the enabling state.public void setOptimizingTime(Date optimizingTime)
The time at which fast snapshot restores entered the optimizing state.
optimizingTime - The time at which fast snapshot restores entered the optimizing state.public Date getOptimizingTime()
The time at which fast snapshot restores entered the optimizing state.
optimizing state.public DescribeFastSnapshotRestoreSuccessItem withOptimizingTime(Date optimizingTime)
The time at which fast snapshot restores entered the optimizing state.
optimizingTime - The time at which fast snapshot restores entered the optimizing state.public void setEnabledTime(Date enabledTime)
The time at which fast snapshot restores entered the enabled state.
enabledTime - The time at which fast snapshot restores entered the enabled state.public Date getEnabledTime()
The time at which fast snapshot restores entered the enabled state.
enabled state.public DescribeFastSnapshotRestoreSuccessItem withEnabledTime(Date enabledTime)
The time at which fast snapshot restores entered the enabled state.
enabledTime - The time at which fast snapshot restores entered the enabled state.public void setDisablingTime(Date disablingTime)
The time at which fast snapshot restores entered the disabling state.
disablingTime - The time at which fast snapshot restores entered the disabling state.public Date getDisablingTime()
The time at which fast snapshot restores entered the disabling state.
disabling state.public DescribeFastSnapshotRestoreSuccessItem withDisablingTime(Date disablingTime)
The time at which fast snapshot restores entered the disabling state.
disablingTime - The time at which fast snapshot restores entered the disabling state.public void setDisabledTime(Date disabledTime)
The time at which fast snapshot restores entered the disabled state.
disabledTime - The time at which fast snapshot restores entered the disabled state.public Date getDisabledTime()
The time at which fast snapshot restores entered the disabled state.
disabled state.public DescribeFastSnapshotRestoreSuccessItem withDisabledTime(Date disabledTime)
The time at which fast snapshot restores entered the disabled state.
disabledTime - The time at which fast snapshot restores entered the disabled state.public String toString()
toString in class ObjectObject.toString()public DescribeFastSnapshotRestoreSuccessItem clone()