@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSnapshotResult() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotResult |
clone() |
boolean |
equals(Object obj) |
SnapshotDetails |
getSnapshot()
Properties that provide details of the created snapshot.
|
int |
hashCode() |
void |
setSnapshot(SnapshotDetails snapshot)
Properties that provide details of the created snapshot.
|
String |
toString()
Returns a string representation of this object.
|
CreateSnapshotResult |
withSnapshot(SnapshotDetails snapshot)
Properties that provide details of the created snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapshot(SnapshotDetails snapshot)
Properties that provide details of the created snapshot.
snapshot
- Properties that provide details of the created snapshot.public SnapshotDetails getSnapshot()
Properties that provide details of the created snapshot.
public CreateSnapshotResult withSnapshot(SnapshotDetails snapshot)
Properties that provide details of the created snapshot.
snapshot
- Properties that provide details of the created snapshot.public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotResult clone()