Class EbsVolume
java.lang.Object
com.amazonaws.services.elasticmapreduce.model.EbsVolume
- All Implemented Interfaces:
Serializable
,Cloneable
EBS block device that's attached to an EC2 instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The device name that is exposed to the instance, such as /dev/sdh.The volume identifier of the EBS volume.int
hashCode()
void
The device name that is exposed to the instance, such as /dev/sdh.void
setVolumeId
(String volumeId) The volume identifier of the EBS volume.toString()
Returns a string representation of this object; useful for testing and debugging.withDevice
(String device) The device name that is exposed to the instance, such as /dev/sdh.withVolumeId
(String volumeId) The volume identifier of the EBS volume.
-
Constructor Details
-
EbsVolume
public EbsVolume()
-
-
Method Details
-
setDevice
The device name that is exposed to the instance, such as /dev/sdh.
- Parameters:
device
- The device name that is exposed to the instance, such as /dev/sdh.
-
getDevice
The device name that is exposed to the instance, such as /dev/sdh.
- Returns:
- The device name that is exposed to the instance, such as /dev/sdh.
-
withDevice
The device name that is exposed to the instance, such as /dev/sdh.
- Parameters:
device
- The device name that is exposed to the instance, such as /dev/sdh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setVolumeId
The volume identifier of the EBS volume.
- Parameters:
volumeId
- The volume identifier of the EBS volume.
-
getVolumeId
The volume identifier of the EBS volume.
- Returns:
- The volume identifier of the EBS volume.
-
withVolumeId
The volume identifier of the EBS volume.
- Parameters:
volumeId
- The volume identifier of the EBS 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
-