|
|||||||
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 | |
---|---|
java.lang.Boolean |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
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.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 |
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. |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EbsBlockDevice()
Method Detail |
---|
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 toString()
toString
in class java.lang.Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |