|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.EbsBlockDevice
public class EbsBlockDevice
An EBS volume backed block device.
Constructor Summary | |
---|---|
EbsBlockDevice()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
Integer |
getIops()
Returns the value of the Iops property for this object. |
String |
getSnapshotId()
The ID of the snapshot from which the volume will be created. |
Integer |
getVolumeSize()
The size of the volume, in gigabytes. |
String |
getVolumeType()
Returns the value of the VolumeType property for this object. |
int |
hashCode()
|
Boolean |
isDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination. |
void |
setIops(Integer iops)
Sets the value of the Iops property for this object. |
void |
setSnapshotId(String snapshotId)
The ID of the snapshot from which the volume will be created. |
void |
setVolumeSize(Integer volumeSize)
The size of the volume, in gigabytes. |
void |
setVolumeType(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. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EbsBlockDevice |
withDeleteOnTermination(Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination. |
EbsBlockDevice |
withIops(Integer iops)
Sets the value of the Iops property for this object. |
EbsBlockDevice |
withSnapshotId(String snapshotId)
The ID of the snapshot from which the volume will be created. |
EbsBlockDevice |
withVolumeSize(Integer volumeSize)
The size of the volume, in gigabytes. |
EbsBlockDevice |
withVolumeType(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. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EbsBlockDevice()
Method Detail |
---|
public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The ID of the snapshot from which the volume will be created.public EbsBlockDevice withSnapshotId(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 Integer getVolumeSize()
public void setVolumeSize(Integer volumeSize)
volumeSize
- The size of the volume, in gigabytes.public EbsBlockDevice withVolumeSize(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 Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination
- Specifies whether the Amazon EBS volume is deleted on instance
termination.public EbsBlockDevice withDeleteOnTermination(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 Boolean getDeleteOnTermination()
public String getVolumeType()
Constraints:
Allowed Values: standard, io1
VolumeType
public void setVolumeType(String volumeType)
Constraints:
Allowed Values: standard, io1
volumeType
- The new value for the VolumeType property for this object.VolumeType
public EbsBlockDevice withVolumeType(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.
VolumeType
public void setVolumeType(VolumeType volumeType)
Constraints:
Allowed Values: standard, io1
volumeType
- The new value for the VolumeType property for this object.VolumeType
public 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.
VolumeType
public Integer getIops()
public void setIops(Integer iops)
iops
- The new value for the Iops property for this object.public EbsBlockDevice withIops(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 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 |