public class EbsBlockDevice
extends java.lang.Object
implements java.io.Serializable
An EBS volume backed block device.
| コンストラクタと説明 |
|---|
EbsBlockDevice() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance
termination.
|
java.lang.Integer |
getIops()
Returns the value of the Iops property for this object.
|
java.lang.String |
getSnapshotId()
The ID of the snapshot from which the volume will be created.
|
java.lang.Integer |
getVolumeSize()
The size of the volume, in gigabytes.
|
java.lang.String |
getVolumeType()
Returns the value of the VolumeType property for this object.
|
int |
hashCode() |
java.lang.Boolean |
isDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance
termination.
|
void |
setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance
termination.
|
void |
setIops(java.lang.Integer iops)
Sets the value of the Iops property for this object.
|
void |
setSnapshotId(java.lang.String snapshotId)
The ID of the snapshot from which the volume will be created.
|
void |
setVolumeSize(java.lang.Integer volumeSize)
The size of the volume, in gigabytes.
|
void |
setVolumeType(java.lang.String volumeType)
Sets the value of the VolumeType property for this object.
|
void |
setVolumeType(VolumeType volumeType)
Sets the value of the VolumeType property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EbsBlockDevice |
withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance
termination.
|
EbsBlockDevice |
withIops(java.lang.Integer iops)
Sets the value of the Iops property for this object.
|
EbsBlockDevice |
withSnapshotId(java.lang.String snapshotId)
The ID of the snapshot from which the volume will be created.
|
EbsBlockDevice |
withVolumeSize(java.lang.Integer volumeSize)
The size of the volume, in gigabytes.
|
EbsBlockDevice |
withVolumeType(java.lang.String volumeType)
Sets the value of the VolumeType property for this object.
|
EbsBlockDevice |
withVolumeType(VolumeType volumeType)
Sets the value of the VolumeType property for this object.
|
public java.lang.String getSnapshotId()
public void setSnapshotId(java.lang.String snapshotId)
snapshotId - The ID of the snapshot from which the volume will be created.public EbsBlockDevice withSnapshotId(java.lang.String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId - The ID of the snapshot from which the volume will be created.public java.lang.Integer getVolumeSize()
public void setVolumeSize(java.lang.Integer volumeSize)
volumeSize - The size of the volume, in gigabytes.public EbsBlockDevice withVolumeSize(java.lang.Integer volumeSize)
Returns a reference to this object so that method calls can be chained together.
volumeSize - The size of the volume, in gigabytes.public java.lang.Boolean isDeleteOnTermination()
public void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
deleteOnTermination - Specifies whether the Amazon EBS volume is deleted on instance
termination.public EbsBlockDevice withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination - Specifies whether the Amazon EBS volume is deleted on instance
termination.public java.lang.Boolean getDeleteOnTermination()
public java.lang.String getVolumeType()
Constraints:
Allowed Values: standard, io1
VolumeTypepublic void setVolumeType(java.lang.String volumeType)
Constraints:
Allowed Values: standard, io1
volumeType - The new value for the VolumeType property for this object.VolumeTypepublic EbsBlockDevice withVolumeType(java.lang.String volumeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: standard, io1
volumeType - The new value for the VolumeType property for this object.VolumeTypepublic void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: standard, io1
volumeType - The new value for the VolumeType property for this object.VolumeTypepublic EbsBlockDevice withVolumeType(VolumeType volumeType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: standard, io1
volumeType - The new value for the VolumeType property for this object.VolumeTypepublic java.lang.Integer getIops()
public void setIops(java.lang.Integer iops)
iops - The new value for the Iops property for this object.public EbsBlockDevice withIops(java.lang.Integer iops)
Returns a reference to this object so that method calls can be chained together.
iops - The new value for the Iops property for this object.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