public class DiskImage
extends java.lang.Object
implements java.io.Serializable
Describes a disk image.
Constructor and Description |
---|
DiskImage() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the disk image.
|
DiskImageDetail |
getImage()
Information about the disk image.
|
VolumeDetail |
getVolume()
Information about the volume.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the disk image.
|
void |
setImage(DiskImageDetail image)
Information about the disk image.
|
void |
setVolume(VolumeDetail volume)
Information about the volume.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DiskImage |
withDescription(java.lang.String description)
A description of the disk image.
|
DiskImage |
withImage(DiskImageDetail image)
Information about the disk image.
|
DiskImage |
withVolume(VolumeDetail volume)
Information about the volume.
|
public DiskImageDetail getImage()
public void setImage(DiskImageDetail image)
image
- Information about the disk image.public DiskImage withImage(DiskImageDetail image)
Returns a reference to this object so that method calls can be chained together.
image
- Information about the disk image.public java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- A description of the disk image.public DiskImage withDescription(java.lang.String description)
Returns a reference to this object so that method calls can be chained together.
description
- A description of the disk image.public VolumeDetail getVolume()
public void setVolume(VolumeDetail volume)
volume
- Information about the volume.public DiskImage withVolume(VolumeDetail volume)
Returns a reference to this object so that method calls can be chained together.
volume
- Information about the volume.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.