|
|||||||
| 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 |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
String |
getSnapshotId()
The ID of the snapshot from which the volume will be created. |
Integer |
getVolumeSize()
The size of the volume, in gigabytes. |
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 |
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. |
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 |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, 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 toString()
toString in class ObjectObject.toString()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||