|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.EbsInstanceBlockDeviceSpecification
public class EbsInstanceBlockDeviceSpecification
Specifies how an EBS volume should be mapped as part of a block device mapping specification when launching a new instance.
Constructor Summary | |
---|---|
EbsInstanceBlockDeviceSpecification()
|
Method Summary | |
---|---|
java.lang.Boolean |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
java.lang.String |
getVolumeId()
The ID of the EBS volume that should be mounted as a block device on an Amazon EC2 instance. |
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 |
setVolumeId(java.lang.String volumeId)
The ID of the EBS volume that should be mounted as a block device on an Amazon EC2 instance. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EbsInstanceBlockDeviceSpecification |
withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination. |
EbsInstanceBlockDeviceSpecification |
withVolumeId(java.lang.String volumeId)
The ID of the EBS volume that should be mounted as a block device on an Amazon EC2 instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EbsInstanceBlockDeviceSpecification()
Method Detail |
---|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId
- The ID of the EBS volume that should be mounted as a block device on
an Amazon EC2 instance.public EbsInstanceBlockDeviceSpecification withVolumeId(java.lang.String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the EBS volume that should be mounted as a block device on
an Amazon EC2 instance.
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 EbsInstanceBlockDeviceSpecification 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 |