|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateSnapshotRequest
public class CreateSnapshotRequest
Represents a request to create a snapshot from an Elastic Block Storage (EBS) volume.
| Constructor Summary | |
|---|---|
CreateSnapshotRequest()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
The description for the new snapshot. |
String |
getVolumeId()
The ID of the volume from which to create the snapshot. |
void |
setDescription(String description)
The description for the new snapshot. |
void |
setVolumeId(String volumeId)
The ID of the volume from which to create the snapshot. |
String |
toString()
|
CreateSnapshotRequest |
withDescription(String description)
The description for the new snapshot. |
CreateSnapshotRequest |
withVolumeId(String volumeId)
The ID of the volume from which to create the snapshot. |
| Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
|---|
copyPrivateRequestParameters |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CreateSnapshotRequest()
| Method Detail |
|---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId - The ID of the volume from which to create the snapshot.public CreateSnapshotRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The ID of the volume from which to create the snapshot.
public String getDescription()
public void setDescription(String description)
description - The description for the new snapshot.public CreateSnapshotRequest withDescription(String description)
Returns a reference to this object so that method calls can be chained together.
description - The description for the new snapshot.
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||