public class CopySnapshotResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the output of CopySnapshot.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
snapshotId
The ID of the new snapshot.
|
Constructor and Description |
---|
CopySnapshotResult() |
Modifier and Type | Method and Description |
---|---|
CopySnapshotResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getSnapshotId()
The ID of the new snapshot.
|
int |
hashCode() |
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CopySnapshotResult |
withSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
|
public void setSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
snapshotId
- The ID of the new snapshot.public java.lang.String getSnapshotId()
The ID of the new snapshot.
public CopySnapshotResult withSnapshotId(java.lang.String snapshotId)
The ID of the new snapshot.
snapshotId
- The ID of the new snapshot.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 CopySnapshotResult clone()
clone
in class java.lang.Object