@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UnlockSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
UnlockSnapshotResult() |
Modifier and Type | Method and Description |
---|---|
UnlockSnapshotResult |
clone() |
boolean |
equals(Object obj) |
String |
getSnapshotId()
The ID of the snapshot.
|
int |
hashCode() |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
String |
toString()
Returns a string representation of this object.
|
UnlockSnapshotResult |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public UnlockSnapshotResult withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String toString()
toString
in class Object
Object.toString()
public UnlockSnapshotResult clone()