|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.EbsInstanceBlockDevice
public class EbsInstanceBlockDevice
An EBS volume backed block device which is attached to an instance.
Constructor Summary | |
---|---|
EbsInstanceBlockDevice()
|
Method Summary | |
---|---|
java.util.Date |
getAttachTime()
The time at which the EBS volume was attached to the associated instance. |
java.lang.Boolean |
getDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
java.lang.String |
getStatus()
The status of the EBS volume. |
java.lang.String |
getVolumeId()
The ID of the EBS volume. |
java.lang.Boolean |
isDeleteOnTermination()
Specifies whether the Amazon EBS volume is deleted on instance termination. |
void |
setAttachTime(java.util.Date attachTime)
The time at which the EBS volume was attached to the associated instance. |
void |
setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination. |
void |
setStatus(java.lang.String status)
The status of the EBS volume. |
void |
setVolumeId(java.lang.String volumeId)
The ID of the EBS volume. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EbsInstanceBlockDevice |
withAttachTime(java.util.Date attachTime)
The time at which the EBS volume was attached to the associated instance. |
EbsInstanceBlockDevice |
withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Specifies whether the Amazon EBS volume is deleted on instance termination. |
EbsInstanceBlockDevice |
withStatus(java.lang.String status)
The status of the EBS volume. |
EbsInstanceBlockDevice |
withVolumeId(java.lang.String volumeId)
The ID of the EBS volume. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EbsInstanceBlockDevice()
Method Detail |
---|
public java.lang.String getVolumeId()
public void setVolumeId(java.lang.String volumeId)
volumeId
- The ID of the EBS volume.public EbsInstanceBlockDevice 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.
public java.lang.String getStatus()
public void setStatus(java.lang.String status)
status
- The status of the EBS volume.public EbsInstanceBlockDevice withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the EBS volume.
public java.util.Date getAttachTime()
public void setAttachTime(java.util.Date attachTime)
attachTime
- The time at which the EBS volume was attached to the associated
instance.public EbsInstanceBlockDevice withAttachTime(java.util.Date attachTime)
Returns a reference to this object so that method calls can be chained together.
attachTime
- The time at which the EBS volume was attached to the associated
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 EbsInstanceBlockDevice 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 |