@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterVolumeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a RegisterVolume
request.
Constructor and Description |
---|
RegisterVolumeResult() |
Modifier and Type | Method and Description |
---|---|
RegisterVolumeResult |
clone() |
boolean |
equals(Object obj) |
String |
getVolumeId()
The volume ID.
|
int |
hashCode() |
void |
setVolumeId(String volumeId)
The volume ID.
|
String |
toString()
Returns a string representation of this object.
|
RegisterVolumeResult |
withVolumeId(String volumeId)
The volume ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public String getVolumeId()
The volume ID.
public RegisterVolumeResult withVolumeId(String volumeId)
The volume ID.
volumeId
- The volume ID.public String toString()
toString
in class Object
Object.toString()
public RegisterVolumeResult clone()