public class VolumeAttachment extends Object implements Serializable
Constructor and Description |
---|
VolumeAttachment() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Date |
getAttachTime()
The time stamp when the attachment initiated.
|
Boolean |
getDeleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
|
String |
getDevice()
The device name.
|
String |
getInstanceId()
The ID of the instance.
|
String |
getState()
The attachment state of the volume.
|
String |
getVolumeId()
The ID of the volume.
|
int |
hashCode() |
Boolean |
isDeleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
|
void |
setAttachTime(Date attachTime)
The time stamp when the attachment initiated.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
|
void |
setDevice(String device)
The device name.
|
void |
setInstanceId(String instanceId) |
void |
setState(String state)
The attachment state of the volume.
|
void |
setState(VolumeAttachmentState state)
The attachment state of the volume.
|
void |
setVolumeId(String volumeId)
The ID of the volume.
|
String |
toString() |
public void setVolumeId(String volumeId)
The ID of the volume.
volumeId
- The ID of the volume.public String getVolumeId()
The ID of the volume.
public void setInstanceId(String instanceId)
public String getInstanceId()
The ID of the instance.
public void setDevice(String device)
The device name.
device
- The device name.public String getDevice()
The device name.
public void setState(String state)
The attachment state of the volume.
state
- The attachment state of the volume.VolumeAttachmentState
public String getState()
The attachment state of the volume.
VolumeAttachmentState
public void setState(VolumeAttachmentState state)
The attachment state of the volume.
state
- The attachment state of the volume.VolumeAttachmentState
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 void setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the EBS volume is deleted on instance termination.
deleteOnTermination
- Indicates whether the EBS volume is deleted on instance termination.public Boolean getDeleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
public Boolean isDeleteOnTermination()
Indicates whether the EBS volume is deleted on instance termination.
Copyright © 2010–2020. All rights reserved.