Class EbsBlockDeviceConfig
- java.lang.Object
-
- com.amazonaws.services.elasticmapreduce.model.EbsBlockDeviceConfig
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class EbsBlockDeviceConfig extends Object implements Serializable, Cloneable
Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EbsBlockDeviceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EbsBlockDeviceConfig
clone()
boolean
equals(Object obj)
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.Integer
getVolumesPerInstance()
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance groupint
hashCode()
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.void
setVolumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance groupString
toString()
Returns a string representation of this object; useful for testing and debugging.EbsBlockDeviceConfig
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.EbsBlockDeviceConfig
withVolumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
-
-
-
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 EbsBlockDeviceConfig 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.
-
setVolumesPerInstance
public void setVolumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
- Parameters:
volumesPerInstance
- Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
-
getVolumesPerInstance
public Integer getVolumesPerInstance()
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
- Returns:
- Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
-
withVolumesPerInstance
public EbsBlockDeviceConfig withVolumesPerInstance(Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
- Parameters:
volumesPerInstance
- Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group- 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 EbsBlockDeviceConfig clone()
-
-