Class EbsBlockDevice
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.EbsBlockDevice
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EbsBlockDevice extends Object implements Serializable, Cloneable
Configuration of requested EBS block device associated with the instance group.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EbsBlockDevice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EbsBlockDevice
clone()
boolean
equals(Object obj)
String
getDevice()
The device name that is exposed to the instance, such as /dev/sdh.VolumeSpecification
getVolumeSpecification()
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.int
hashCode()
void
setDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.void
setVolumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.String
toString()
Returns a string representation of this object; useful for testing and debugging.EbsBlockDevice
withDevice(String device)
The device name that is exposed to the instance, such as /dev/sdh.EbsBlockDevice
withVolumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
-
-
-
Method Detail
-
setVolumeSpecification
public void setVolumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
- Parameters:
volumeSpecification
- EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
-
getVolumeSpecification
public VolumeSpecification getVolumeSpecification()
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
- Returns:
- EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
-
withVolumeSpecification
public EbsBlockDevice withVolumeSpecification(VolumeSpecification volumeSpecification)
EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.
- Parameters:
volumeSpecification
- EBS volume specifications such as volume type, IOPS, and size(GiB) that will be requested for the EBS volume attached to an EC2 instance in the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDevice
public void setDevice(String device)
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
public String 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
public EbsBlockDevice withDevice(String device)
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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public EbsBlockDevice clone()
-
-