public class EbsBlockDeviceConfig
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Configuration of requested EBS block device associated with the instance group with count of volumes that will be associated to every instance.
Modifier and Type | Field and Description |
---|---|
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.Integer |
volumesPerInstance
Number of EBS volumes with specific volume configuration, that will be
associated with every instance in the instance group
|
Constructor and Description |
---|
EbsBlockDeviceConfig() |
Modifier and Type | Method and Description |
---|---|
EbsBlockDeviceConfig |
clone() |
boolean |
equals(java.lang.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.
|
java.lang.Integer |
getVolumesPerInstance()
Number of EBS volumes with specific volume configuration, that will be
associated with every instance in the instance group
|
int |
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(java.lang.Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be
associated with every instance in the instance group
|
java.lang.String |
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(java.lang.Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be
associated with every instance in the instance group
|
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.Integer volumesPerInstance
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
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 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.
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 setVolumesPerInstance(java.lang.Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
volumesPerInstance
- Number of EBS volumes with specific volume configuration, that
will be associated with every instance in the instance grouppublic java.lang.Integer getVolumesPerInstance()
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
public EbsBlockDeviceConfig withVolumesPerInstance(java.lang.Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
volumesPerInstance
- Number of EBS volumes with specific volume configuration, that
will be associated with every instance in the instance grouppublic 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 EbsBlockDeviceConfig clone()
clone
in class java.lang.Object