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.
Constructor and Description |
---|
EbsBlockDeviceConfig() |
Modifier and Type | Method and 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 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(Integer volumesPerInstance)
Number of EBS volumes with specific volume configuration, that will be
associated with every instance in the instance group
|
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(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(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 Integer getVolumesPerInstance()
Number of EBS volumes with specific volume configuration, that will be associated with every instance in the instance group
public EbsBlockDeviceConfig withVolumesPerInstance(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 String toString()
toString
in class Object
Object.toString()
public EbsBlockDeviceConfig clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.