public class CreateSnapshotResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the results of the CreateSnapshot operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
snapshotId
The identifier of the snapshot that was created.
|
Constructor and Description |
---|
CreateSnapshotResult() |
Modifier and Type | Method and Description |
---|---|
CreateSnapshotResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSnapshotId()
The identifier of the snapshot that was created.
|
int |
hashCode() |
void |
setSnapshotId(java.lang.String snapshotId)
The identifier of the snapshot that was created.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateSnapshotResult |
withSnapshotId(java.lang.String snapshotId)
The identifier of the snapshot that was created.
|
private java.lang.String snapshotId
The identifier of the snapshot that was created.
public void setSnapshotId(java.lang.String snapshotId)
The identifier of the snapshot that was created.
snapshotId
- The identifier of the snapshot that was created.public java.lang.String getSnapshotId()
The identifier of the snapshot that was created.
public CreateSnapshotResult withSnapshotId(java.lang.String snapshotId)
The identifier of the snapshot that was created.
snapshotId
- The identifier of the snapshot that was created.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateSnapshotResult clone()
clone
in class java.lang.Object