@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EbsInstanceBlockDevice extends Object implements Serializable, Cloneable
Describes a parameter used to set up an EBS volume in a block device mapping.
Constructor and Description |
---|
EbsInstanceBlockDevice() |
Modifier and Type | Method and Description |
---|---|
EbsInstanceBlockDevice |
clone() |
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 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 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 EBS volume.
|
public void setAttachTime(Date attachTime)
The time stamp when the attachment initiated.
attachTime
- The time stamp when the attachment initiated.public Date getAttachTime()
The time stamp when the attachment initiated.
public EbsInstanceBlockDevice withAttachTime(Date attachTime)
The time stamp when the attachment initiated.
attachTime
- The time stamp when the attachment initiated.public void setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public Boolean getDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public EbsInstanceBlockDevice withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the volume is deleted on instance termination.public Boolean isDeleteOnTermination()
Indicates whether the volume is deleted on instance termination.
public void setStatus(String status)
The attachment state.
status
- The attachment state.AttachmentStatus
public String getStatus()
The attachment state.
AttachmentStatus
public EbsInstanceBlockDevice withStatus(String status)
The attachment state.
status
- The attachment state.AttachmentStatus
public void setStatus(AttachmentStatus status)
The attachment state.
status
- The attachment state.AttachmentStatus
public EbsInstanceBlockDevice withStatus(AttachmentStatus status)
The attachment state.
status
- The attachment state.AttachmentStatus
public void setVolumeId(String volumeId)
The ID of the EBS volume.
volumeId
- The ID of the EBS volume.public String getVolumeId()
The ID of the EBS volume.
public EbsInstanceBlockDevice withVolumeId(String volumeId)
The ID of the EBS volume.
volumeId
- The ID of the EBS volume.public String toString()
toString
in class Object
Object.toString()
public EbsInstanceBlockDevice clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.