@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetDiskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetDiskResult() |
Modifier and Type | Method and Description |
---|---|
GetDiskResult |
clone() |
boolean |
equals(Object obj) |
Disk |
getDisk()
An object containing information about the disk.
|
int |
hashCode() |
void |
setDisk(Disk disk)
An object containing information about the disk.
|
String |
toString()
Returns a string representation of this object.
|
GetDiskResult |
withDisk(Disk disk)
An object containing information about the disk.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDisk(Disk disk)
An object containing information about the disk.
disk
- An object containing information about the disk.public Disk getDisk()
An object containing information about the disk.
public GetDiskResult withDisk(Disk disk)
An object containing information about the disk.
disk
- An object containing information about the disk.public String toString()
toString
in class Object
Object.toString()
public GetDiskResult clone()