public class Volume
extends java.lang.Object
implements java.io.Serializable
Describes an instance's Amazon EBS volume.
| コンストラクタと説明 |
|---|
Volume() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAvailabilityZone()
The volume Availability Zone.
|
java.lang.String |
getDevice()
The device name.
|
java.lang.String |
getEc2VolumeId()
The Amazon EC2 volume ID.
|
java.lang.String |
getInstanceId()
The instance ID.
|
java.lang.String |
getMountPoint()
The volume mount point.
|
java.lang.String |
getName()
The volume name.
|
java.lang.String |
getRaidArrayId()
The RAID array ID.
|
java.lang.String |
getRegion()
The AWS region.
|
java.lang.Integer |
getSize()
The volume size.
|
java.lang.String |
getStatus()
The value returned by DescribeVolumes.
|
java.lang.String |
getVolumeId()
The volume ID.
|
int |
hashCode() |
void |
setAvailabilityZone(java.lang.String availabilityZone)
The volume Availability Zone.
|
void |
setDevice(java.lang.String device)
The device name.
|
void |
setEc2VolumeId(java.lang.String ec2VolumeId)
The Amazon EC2 volume ID.
|
void |
setInstanceId(java.lang.String instanceId)
The instance ID.
|
void |
setMountPoint(java.lang.String mountPoint)
The volume mount point.
|
void |
setName(java.lang.String name)
The volume name.
|
void |
setRaidArrayId(java.lang.String raidArrayId)
The RAID array ID.
|
void |
setRegion(java.lang.String region)
The AWS region.
|
void |
setSize(java.lang.Integer size)
The volume size.
|
void |
setStatus(java.lang.String status)
The value returned by DescribeVolumes.
|
void |
setVolumeId(java.lang.String volumeId)
The volume ID.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Volume |
withAvailabilityZone(java.lang.String availabilityZone)
The volume Availability Zone.
|
Volume |
withDevice(java.lang.String device)
The device name.
|
Volume |
withEc2VolumeId(java.lang.String ec2VolumeId)
The Amazon EC2 volume ID.
|
Volume |
withInstanceId(java.lang.String instanceId)
The instance ID.
|
Volume |
withMountPoint(java.lang.String mountPoint)
The volume mount point.
|
Volume |
withName(java.lang.String name)
The volume name.
|
Volume |
withRaidArrayId(java.lang.String raidArrayId)
The RAID array ID.
|
Volume |
withRegion(java.lang.String region)
The AWS region.
|
Volume |
withSize(java.lang.Integer size)
The volume size.
|
Volume |
withStatus(java.lang.String status)
The value returned by DescribeVolumes.
|
Volume |
withVolumeId(java.lang.String volumeId)
The volume ID.
|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId - The volume ID.public Volume withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId - The volume ID.public java.lang.String getEc2VolumeId()
public void setEc2VolumeId(java.lang.String ec2VolumeId)
ec2VolumeId - The Amazon EC2 volume ID.public Volume withEc2VolumeId(java.lang.String ec2VolumeId)
Returns a reference to this object so that method calls can be chained together.
ec2VolumeId - The Amazon EC2 volume ID.public java.lang.String getName()
public void setName(java.lang.String name)
name - The volume name.public Volume withName(java.lang.String name)
Returns a reference to this object so that method calls can be chained together.
name - The volume name.public java.lang.String getRaidArrayId()
public void setRaidArrayId(java.lang.String raidArrayId)
raidArrayId - The RAID array ID.public Volume withRaidArrayId(java.lang.String raidArrayId)
Returns a reference to this object so that method calls can be chained together.
raidArrayId - The RAID array ID.public java.lang.String getInstanceId()
public void setInstanceId(java.lang.String instanceId)
instanceId - The instance ID.public Volume withInstanceId(java.lang.String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId - The instance ID.public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status - The value returned by DescribeVolumes.public Volume withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status - The value returned by DescribeVolumes.public java.lang.Integer getSize()
public void setSize(java.lang.Integer size)
size - The volume size.public Volume withSize(java.lang.Integer size)
Returns a reference to this object so that method calls can be chained together.
size - The volume size.public java.lang.String getDevice()
public void setDevice(java.lang.String device)
device - The device name.public Volume withDevice(java.lang.String device)
Returns a reference to this object so that method calls can be chained together.
device - The device name.public java.lang.String getMountPoint()
public void setMountPoint(java.lang.String mountPoint)
mountPoint - The volume mount point. For example "/dev/sdh".public Volume withMountPoint(java.lang.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 java.lang.String getRegion()
public void setRegion(java.lang.String region)
region - The AWS region. For more information about AWS regions, see Regions
and Endpoints.public Volume withRegion(java.lang.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 java.lang.String getAvailabilityZone()
public void setAvailabilityZone(java.lang.String availabilityZone)
availabilityZone - The volume Availability Zone. For more information, see Regions
and Endpoints.public Volume withAvailabilityZone(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object