|
||||||||||
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(Object obj)
|
Date |
getAttachTime()
The time stamp when the attachment initiated. |
Boolean |
getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination. |
String |
getStatus()
The attachment state. |
String |
getVolumeId()
The ID of the Amazon EBS volume. |
int |
hashCode()
|
Boolean |
isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination. |
void |
setAttachTime(Date attachTime)
The time stamp when the attachment initiated. |
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination. |
void |
setStatus(AttachmentStatus status)
The attachment state. |
void |
setStatus(String status)
The attachment state. |
void |
setVolumeId(String volumeId)
The ID of the Amazon EBS volume. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
EbsInstanceBlockDevice |
withAttachTime(Date attachTime)
The time stamp when the attachment initiated. |
EbsInstanceBlockDevice |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination. |
EbsInstanceBlockDevice |
withStatus(AttachmentStatus status)
The attachment state. |
EbsInstanceBlockDevice |
withStatus(String status)
The attachment state. |
EbsInstanceBlockDevice |
withVolumeId(String volumeId)
The ID of the Amazon EBS volume. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EbsInstanceBlockDevice()
Method Detail |
---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the Amazon EBS volume.public EbsInstanceBlockDevice withVolumeId(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 String getStatus()
Constraints:
Allowed Values: attaching, attached, detaching, detached
AttachmentStatus
public void setStatus(String status)
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The attachment state.AttachmentStatus
public EbsInstanceBlockDevice withStatus(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 Date getAttachTime()
public void setAttachTime(Date attachTime)
attachTime
- The time stamp when the attachment initiated.public EbsInstanceBlockDevice withAttachTime(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 Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public EbsInstanceBlockDevice withDeleteOnTermination(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 Boolean getDeleteOnTermination()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |