@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EnableFastSnapshotRestoreSuccessItem extends Object implements Serializable, Cloneable
Describes fast snapshot restores that were successfully enabled.
| Constructor and Description | 
|---|
| EnableFastSnapshotRestoreSuccessItem() | 
| Modifier and Type | Method and Description | 
|---|---|
| EnableFastSnapshotRestoreSuccessItem | clone() | 
| boolean | equals(Object obj) | 
| String | getAvailabilityZone()
 The Availability Zone. | 
| Date | getDisabledTime()
 The time at which fast snapshot restores entered the  disabledstate. | 
| Date | getDisablingTime()
 The time at which fast snapshot restores entered the  disablingstate. | 
| Date | getEnabledTime()
 The time at which fast snapshot restores entered the  enabledstate. | 
| Date | getEnablingTime()
 The time at which fast snapshot restores entered the  enablingstate. | 
| Date | getOptimizingTime()
 The time at which fast snapshot restores entered the  optimizingstate. | 
| 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  disabledstate. | 
| void | setDisablingTime(Date disablingTime)
 The time at which fast snapshot restores entered the  disablingstate. | 
| void | setEnabledTime(Date enabledTime)
 The time at which fast snapshot restores entered the  enabledstate. | 
| void | setEnablingTime(Date enablingTime)
 The time at which fast snapshot restores entered the  enablingstate. | 
| void | setOptimizingTime(Date optimizingTime)
 The time at which fast snapshot restores entered the  optimizingstate. | 
| 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. | 
| EnableFastSnapshotRestoreSuccessItem | withAvailabilityZone(String availabilityZone)
 The Availability Zone. | 
| EnableFastSnapshotRestoreSuccessItem | withDisabledTime(Date disabledTime)
 The time at which fast snapshot restores entered the  disabledstate. | 
| EnableFastSnapshotRestoreSuccessItem | withDisablingTime(Date disablingTime)
 The time at which fast snapshot restores entered the  disablingstate. | 
| EnableFastSnapshotRestoreSuccessItem | withEnabledTime(Date enabledTime)
 The time at which fast snapshot restores entered the  enabledstate. | 
| EnableFastSnapshotRestoreSuccessItem | withEnablingTime(Date enablingTime)
 The time at which fast snapshot restores entered the  enablingstate. | 
| EnableFastSnapshotRestoreSuccessItem | withOptimizingTime(Date optimizingTime)
 The time at which fast snapshot restores entered the  optimizingstate. | 
| EnableFastSnapshotRestoreSuccessItem | withOwnerAlias(String ownerAlias)
 The Amazon Web Services owner alias that enabled fast snapshot restores on the snapshot. | 
| EnableFastSnapshotRestoreSuccessItem | withOwnerId(String ownerId)
 The ID of the Amazon Web Services account that enabled fast snapshot restores on the snapshot. | 
| EnableFastSnapshotRestoreSuccessItem | withSnapshotId(String snapshotId)
 The ID of the snapshot. | 
| EnableFastSnapshotRestoreSuccessItem | withState(FastSnapshotRestoreStateCode state)
 The state of fast snapshot restores. | 
| EnableFastSnapshotRestoreSuccessItem | withState(String state)
 The state of fast snapshot restores. | 
| EnableFastSnapshotRestoreSuccessItem | withStateTransitionReason(String stateTransitionReason)
 The reason for the state transition. | 
public EnableFastSnapshotRestoreSuccessItem()
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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem withState(String state)
The state of fast snapshot restores.
state - The state of fast snapshot restores.FastSnapshotRestoreStateCodepublic EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem 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 EnableFastSnapshotRestoreSuccessItem clone()