public class CreateSnapshotResult extends Object implements Serializable, Cloneable
Contains the results of the CreateSnapshot operation.
| Constructor and Description |
|---|
CreateSnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotResult |
clone() |
boolean |
equals(Object obj) |
String |
getSnapshotId()
The identifier of the snapshot that was created.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The identifier of the snapshot that was created.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotResult |
withSnapshotId(String snapshotId)
The identifier of the snapshot that was created.
|
public String getSnapshotId()
Constraints:
Pattern: ^s-[0-9a-f]{10}$
public void setSnapshotId(String snapshotId)
Constraints:
Pattern: ^s-[0-9a-f]{10}$
snapshotId - The identifier of the snapshot that was created.public CreateSnapshotResult withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^s-[0-9a-f]{10}$
snapshotId - The identifier of the snapshot that was created.public String toString()
toString in class ObjectObject.toString()public CreateSnapshotResult clone()
Copyright © 2015. All rights reserved.