Class EbsBlockDevice
- All Implemented Interfaces:
Serializable
,Cloneable
Configuration of requested EBS block device associated with the instance group.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The device name that is exposed to the instance, such as /dev/sdh.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
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.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.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.
-
Constructor Details
-
EbsBlockDevice
public EbsBlockDevice()
-
-
Method Details
-
setVolumeSpecification
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
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
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
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.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-