|
|||||||
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
Describes a parameter used to set up an Amazon EBS volume in a block device mapping.
Constructor Summary | |
---|---|
EbsInstanceBlockDevice()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.util.Date |
getAttachTime()
The time stamp when the attachment initiated. |
java.lang.Boolean |
getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination. |
java.lang.String |
getStatus()
The attachment state. |
java.lang.String |
getVolumeId()
The ID of the Amazon EBS volume. |
int |
hashCode()
|
java.lang.Boolean |
isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination. |
void |
setAttachTime(java.util.Date attachTime)
The time stamp when the attachment initiated. |
void |
setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination. |
void |
setStatus(AttachmentStatus status)
The attachment state. |
void |
setStatus(java.lang.String status)
The attachment state. |
void |
setVolumeId(java.lang.String volumeId)
The ID of the Amazon 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 stamp when the attachment initiated. |
EbsInstanceBlockDevice |
withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination. |
EbsInstanceBlockDevice |
withStatus(AttachmentStatus status)
The attachment state. |
EbsInstanceBlockDevice |
withStatus(java.lang.String status)
The attachment state. |
EbsInstanceBlockDevice |
withVolumeId(java.lang.String volumeId)
The ID of the Amazon EBS volume. |
Methods inherited from class java.lang.Object |
---|
getClass, 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 Amazon 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 Amazon EBS volume.
public java.lang.String getStatus()
Constraints:
Allowed Values: attaching, attached, detaching, detached
AttachmentStatus
public void setStatus(java.lang.String status)
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The attachment state.AttachmentStatus
public EbsInstanceBlockDevice withStatus(java.lang.String status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The attachment state.
AttachmentStatus
public void setStatus(AttachmentStatus status)
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The attachment state.AttachmentStatus
public EbsInstanceBlockDevice withStatus(AttachmentStatus status)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The attachment state.
AttachmentStatus
public java.util.Date getAttachTime()
public void setAttachTime(java.util.Date attachTime)
attachTime
- The time stamp when the attachment initiated.public EbsInstanceBlockDevice withAttachTime(java.util.Date attachTime)
Returns a reference to this object so that method calls can be chained together.
attachTime
- The time stamp when the attachment initiated.
public java.lang.Boolean isDeleteOnTermination()
public void setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
deleteOnTermination
- Indicates whether the 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
- Indicates whether the volume is deleted on instance termination.
public java.lang.Boolean getDeleteOnTermination()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |