Package com.amazonaws.services.ec2.model
Class DiskImageVolumeDescription
java.lang.Object
com.amazonaws.services.ec2.model.DiskImageVolumeDescription
- All Implemented Interfaces:
Serializable
,Cloneable
Describes a disk image volume.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getId()
The volume identifier.getSize()
The size of the volume, in GiB.int
hashCode()
void
The volume identifier.void
The size of the volume, in GiB.toString()
Returns a string representation of this object; useful for testing and debugging.The volume identifier.The size of the volume, in GiB.
-
Constructor Details
-
DiskImageVolumeDescription
public DiskImageVolumeDescription()
-
-
Method Details
-
setSize
The size of the volume, in GiB.
- Parameters:
size
- The size of the volume, in GiB.
-
getSize
The size of the volume, in GiB.
- Returns:
- The size of the volume, in GiB.
-
withSize
The size of the volume, in GiB.
- Parameters:
size
- The size of the volume, in GiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setId
The volume identifier.
- Parameters:
id
- The volume identifier.
-
getId
The volume identifier.
- Returns:
- The volume identifier.
-
withId
The volume identifier.
- Parameters:
id
- The volume identifier.- 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
-