@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> 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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapshotId(String snapshotId)
The identifier of the snapshot that was created.
snapshotId
- The identifier of the snapshot that was created.public String getSnapshotId()
The identifier of the snapshot that was created.
public CreateSnapshotResult withSnapshotId(String snapshotId)
The identifier of the snapshot that was created.
snapshotId
- The identifier of the snapshot that was created.public String toString()
toString
in class Object
Object.toString()
public CreateSnapshotResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.