@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateVolumeResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateVolumeResult() |
Modifier and Type | Method and Description |
---|---|
CreateVolumeResult |
clone() |
boolean |
equals(Object obj) |
Volume |
getVolume()
Describes a volume.
|
int |
hashCode() |
void |
setVolume(Volume volume)
Describes a volume.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateVolumeResult |
withVolume(Volume volume)
Describes a volume.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setVolume(Volume volume)
Describes a volume.
volume
- Describes a volume.public Volume getVolume()
Describes a volume.
public CreateVolumeResult withVolume(Volume volume)
Describes a volume.
volume
- Describes a volume.public String toString()
toString
in class Object
Object.toString()
public CreateVolumeResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.