public class EbsBlockDevice extends Object implements Serializable, Cloneable
Configuration of requested EBS block device associated with the instance group.
Constructor and Description |
---|
EbsBlockDevice() |
Modifier and Type | Method and Description |
---|---|
EbsBlockDevice |
clone() |
boolean |
equals(Object obj) |
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(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EbsBlockDevice |
withDevice(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.
|
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(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 String getDevice()
The device name that is exposed to the instance, such as /dev/sdh.
public EbsBlockDevice withDevice(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 String toString()
toString
in class Object
Object.toString()
public EbsBlockDevice clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.