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()booleanThe device name that is exposed to the instance, such as /dev/sdh.The volume identifier of the EBS volume.inthashCode()voidThe device name that is exposed to the instance, such as /dev/sdh.voidsetVolumeId(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
-
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
-
toString
-
equals
-
hashCode
-
clone
-