@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreVolumeFromSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
RestoreVolumeFromSnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
RestoreVolumeFromSnapshotResult |
clone() |
boolean |
equals(Object obj) |
String |
getLifecycle()
The lifecycle state of the volume being restored.
|
String |
getVolumeId()
The ID of the volume that you restored.
|
int |
hashCode() |
void |
setLifecycle(String lifecycle)
The lifecycle state of the volume being restored.
|
void |
setVolumeId(String volumeId)
The ID of the volume that you restored.
|
String |
toString()
Returns a string representation of this object.
|
RestoreVolumeFromSnapshotResult |
withLifecycle(String lifecycle)
The lifecycle state of the volume being restored.
|
RestoreVolumeFromSnapshotResult |
withLifecycle(VolumeLifecycle lifecycle)
The lifecycle state of the volume being restored.
|
RestoreVolumeFromSnapshotResult |
withVolumeId(String volumeId)
The ID of the volume that you restored.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setVolumeId(String volumeId)
The ID of the volume that you restored.
volumeId - The ID of the volume that you restored.public String getVolumeId()
The ID of the volume that you restored.
public RestoreVolumeFromSnapshotResult withVolumeId(String volumeId)
The ID of the volume that you restored.
volumeId - The ID of the volume that you restored.public void setLifecycle(String lifecycle)
The lifecycle state of the volume being restored.
lifecycle - The lifecycle state of the volume being restored.VolumeLifecyclepublic String getLifecycle()
The lifecycle state of the volume being restored.
VolumeLifecyclepublic RestoreVolumeFromSnapshotResult withLifecycle(String lifecycle)
The lifecycle state of the volume being restored.
lifecycle - The lifecycle state of the volume being restored.VolumeLifecyclepublic RestoreVolumeFromSnapshotResult withLifecycle(VolumeLifecycle lifecycle)
The lifecycle state of the volume being restored.
lifecycle - The lifecycle state of the volume being restored.VolumeLifecyclepublic String toString()
toString in class ObjectObject.toString()public RestoreVolumeFromSnapshotResult clone()
Copyright © 2022. All rights reserved.