public class EbsBlockDevice
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Configuration of requested EBS block device associated with the instance group.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
device
The device name that is exposed to the instance, such as /dev/sdh.
|
private 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 and Description |
---|
EbsBlockDevice() |
Modifier and Type | Method and Description |
---|---|
EbsBlockDevice |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EbsBlockDevice |
withDevice(java.lang.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.
|
private 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.
private java.lang.String device
The device name that is exposed to the instance, such as /dev/sdh.
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.
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.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.
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.
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.public void setDevice(java.lang.String device)
The device name that is exposed to the instance, such as /dev/sdh.
device
- The device name that is exposed to the instance, such as /dev/sdh.public java.lang.String getDevice()
The device name that is exposed to the instance, such as /dev/sdh.
public EbsBlockDevice withDevice(java.lang.String device)
The device name that is exposed to the instance, such as /dev/sdh.
device
- The device name that is exposed to the instance, such as /dev/sdh.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public EbsBlockDevice clone()
clone
in class java.lang.Object