@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreSnapshotTierResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
RestoreSnapshotTierResult() |
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotTierResult |
clone() |
boolean |
equals(Object obj) |
Boolean |
getIsPermanentRestore()
Indicates whether the snapshot is permanently restored.
|
Integer |
getRestoreDuration()
For temporary restores only.
|
Date |
getRestoreStartTime()
The date and time when the snapshot restore process started.
|
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
Boolean |
isPermanentRestore()
Indicates whether the snapshot is permanently restored.
|
void |
setIsPermanentRestore(Boolean isPermanentRestore)
Indicates whether the snapshot is permanently restored.
|
void |
setRestoreDuration(Integer restoreDuration)
For temporary restores only.
|
void |
setRestoreStartTime(Date restoreStartTime)
The date and time when the snapshot restore process started.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
RestoreSnapshotTierResult |
withIsPermanentRestore(Boolean isPermanentRestore)
Indicates whether the snapshot is permanently restored.
|
RestoreSnapshotTierResult |
withRestoreDuration(Integer restoreDuration)
For temporary restores only.
|
RestoreSnapshotTierResult |
withRestoreStartTime(Date restoreStartTime)
The date and time when the snapshot restore process started.
|
RestoreSnapshotTierResult |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
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 RestoreSnapshotTierResult withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public void setRestoreStartTime(Date restoreStartTime)
The date and time when the snapshot restore process started.
restoreStartTime
- The date and time when the snapshot restore process started.public Date getRestoreStartTime()
The date and time when the snapshot restore process started.
public RestoreSnapshotTierResult withRestoreStartTime(Date restoreStartTime)
The date and time when the snapshot restore process started.
restoreStartTime
- The date and time when the snapshot restore process started.public void setRestoreDuration(Integer restoreDuration)
For temporary restores only. The number of days for which the archived snapshot is temporarily restored.
restoreDuration
- For temporary restores only. The number of days for which the archived snapshot is temporarily restored.public Integer getRestoreDuration()
For temporary restores only. The number of days for which the archived snapshot is temporarily restored.
public RestoreSnapshotTierResult withRestoreDuration(Integer restoreDuration)
For temporary restores only. The number of days for which the archived snapshot is temporarily restored.
restoreDuration
- For temporary restores only. The number of days for which the archived snapshot is temporarily restored.public void setIsPermanentRestore(Boolean isPermanentRestore)
Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.
isPermanentRestore
- Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.public Boolean getIsPermanentRestore()
Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.
true
indicates a permanent restore.
false
indicates a temporary restore.public RestoreSnapshotTierResult withIsPermanentRestore(Boolean isPermanentRestore)
Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.
isPermanentRestore
- Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.public Boolean isPermanentRestore()
Indicates whether the snapshot is permanently restored. true
indicates a permanent restore.
false
indicates a temporary restore.
true
indicates a permanent restore.
false
indicates a temporary restore.public String toString()
toString
in class Object
Object.toString()
public RestoreSnapshotTierResult clone()