Package com.amazonaws.services.ec2.model
Class DiskImage
java.lang.Object
com.amazonaws.services.ec2.model.DiskImage
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a disk image.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
A description of the disk image.getImage()
Information about the disk image.Information about the volume.int
hashCode()
void
setDescription
(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.toString()
Returns a string representation of this object; useful for testing and debugging.withDescription
(String description) A description of the disk image.withImage
(DiskImageDetail image) Information about the disk image.withVolume
(VolumeDetail volume) Information about the volume.
-
Constructor Details
-
DiskImage
public DiskImage()
-
-
Method Details
-
setImage
Information about the disk image.
- Parameters:
image
- Information about the disk image.
-
getImage
Information about the disk image.
- Returns:
- Information about the disk image.
-
withImage
Information about the disk image.
- Parameters:
image
- Information about the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDescription
A description of the disk image.
- Parameters:
description
- A description of the disk image.
-
getDescription
A description of the disk image.
- Returns:
- A description of the disk image.
-
withDescription
A description of the disk image.
- Parameters:
description
- A description of the disk image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolume
Information about the volume.
- Parameters:
volume
- Information about the volume.
-
getVolume
Information about the volume.
- Returns:
- Information about the volume.
-
withVolume
Information about the volume.
- Parameters:
volume
- Information about the volume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-