|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.opsworks.model.Volume
public class Volume
Describes an instance's Amazon EBS volume.
Constructor Summary | |
---|---|
Volume()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAvailabilityZone()
The volume Availability Zone. |
String |
getDevice()
The device name. |
String |
getEc2VolumeId()
The Amazon EC2 volume ID. |
String |
getInstanceId()
The instance ID. |
Integer |
getIops()
For PIOPS volumes, the IOPS per disk. |
String |
getMountPoint()
The volume mount point. |
String |
getName()
The volume name. |
String |
getRaidArrayId()
The RAID array ID. |
String |
getRegion()
The AWS region. |
Integer |
getSize()
The volume size. |
String |
getStatus()
The value returned by DescribeVolumes. |
String |
getVolumeId()
The volume ID. |
String |
getVolumeType()
The volume type, standard or PIOPS. |
int |
hashCode()
|
void |
setAvailabilityZone(String availabilityZone)
The volume Availability Zone. |
void |
setDevice(String device)
The device name. |
void |
setEc2VolumeId(String ec2VolumeId)
The Amazon EC2 volume ID. |
void |
setInstanceId(String instanceId)
The instance ID. |
void |
setIops(Integer iops)
For PIOPS volumes, the IOPS per disk. |
void |
setMountPoint(String mountPoint)
The volume mount point. |
void |
setName(String name)
The volume name. |
void |
setRaidArrayId(String raidArrayId)
The RAID array ID. |
void |
setRegion(String region)
The AWS region. |
void |
setSize(Integer size)
The volume size. |
void |
setStatus(String status)
The value returned by DescribeVolumes. |
void |
setVolumeId(String volumeId)
The volume ID. |
void |
setVolumeType(String volumeType)
The volume type, standard or PIOPS. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
Volume |
withAvailabilityZone(String availabilityZone)
The volume Availability Zone. |
Volume |
withDevice(String device)
The device name. |
Volume |
withEc2VolumeId(String ec2VolumeId)
The Amazon EC2 volume ID. |
Volume |
withInstanceId(String instanceId)
The instance ID. |
Volume |
withIops(Integer iops)
For PIOPS volumes, the IOPS per disk. |
Volume |
withMountPoint(String mountPoint)
The volume mount point. |
Volume |
withName(String name)
The volume name. |
Volume |
withRaidArrayId(String raidArrayId)
The RAID array ID. |
Volume |
withRegion(String region)
The AWS region. |
Volume |
withSize(Integer size)
The volume size. |
Volume |
withStatus(String status)
The value returned by DescribeVolumes. |
Volume |
withVolumeId(String volumeId)
The volume ID. |
Volume |
withVolumeType(String volumeType)
The volume type, standard or PIOPS. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Volume()
Method Detail |
---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The volume ID.public Volume withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The volume ID.
public String getEc2VolumeId()
public void setEc2VolumeId(String ec2VolumeId)
ec2VolumeId
- The Amazon EC2 volume ID.public Volume withEc2VolumeId(String ec2VolumeId)
Returns a reference to this object so that method calls can be chained together.
ec2VolumeId
- The Amazon EC2 volume ID.
public String getName()
public void setName(String name)
name
- The volume name.public Volume withName(String name)
Returns a reference to this object so that method calls can be chained together.
name
- The volume name.
public String getRaidArrayId()
public void setRaidArrayId(String raidArrayId)
raidArrayId
- The RAID array ID.public Volume withRaidArrayId(String raidArrayId)
Returns a reference to this object so that method calls can be chained together.
raidArrayId
- The RAID array ID.
public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The instance ID.public Volume withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The instance ID.
public String getStatus()
public void setStatus(String status)
status
- The value returned by DescribeVolumes.public Volume withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The value returned by DescribeVolumes.
public Integer getSize()
public void setSize(Integer size)
size
- The volume size.public Volume withSize(Integer size)
Returns a reference to this object so that method calls can be chained together.
size
- The volume size.
public String getDevice()
public void setDevice(String device)
device
- The device name.public Volume withDevice(String device)
Returns a reference to this object so that method calls can be chained together.
device
- The device name.
public String getMountPoint()
public void setMountPoint(String mountPoint)
mountPoint
- The volume mount point. For example "/dev/sdh".public Volume withMountPoint(String mountPoint)
Returns a reference to this object so that method calls can be chained together.
mountPoint
- The volume mount point. For example "/dev/sdh".
public String getRegion()
public void setRegion(String region)
region
- The AWS region. For more information about AWS regions, see Regions
and Endpoints.public Volume withRegion(String region)
Returns a reference to this object so that method calls can be chained together.
region
- The AWS region. For more information about AWS regions, see Regions
and Endpoints.
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
availabilityZone
- The volume Availability Zone. For more information, see Regions
and Endpoints.public Volume withAvailabilityZone(String availabilityZone)
Returns a reference to this object so that method calls can be chained together.
availabilityZone
- The volume Availability Zone. For more information, see Regions
and Endpoints.
public String getVolumeType()
public void setVolumeType(String volumeType)
volumeType
- The volume type, standard or PIOPS.public Volume withVolumeType(String volumeType)
Returns a reference to this object so that method calls can be chained together.
volumeType
- The volume type, standard or PIOPS.
public Integer getIops()
public void setIops(Integer iops)
iops
- For PIOPS volumes, the IOPS per disk.public Volume withIops(Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops
- For PIOPS volumes, the IOPS per disk.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |