|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.ec2.model.InstanceNetworkInterfaceAttachment
public class InstanceNetworkInterfaceAttachment
Describes a network interface attachment.
Constructor Summary | |
---|---|
InstanceNetworkInterfaceAttachment()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getAttachmentId()
The ID of the network interface attachment. |
java.util.Date |
getAttachTime()
The time stamp when the attachment initiated. |
java.lang.Boolean |
getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated. |
java.lang.Integer |
getDeviceIndex()
The index of the device on the instance for the network interface attachment. |
java.lang.String |
getStatus()
The attachment state. |
int |
hashCode()
|
java.lang.Boolean |
isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated. |
void |
setAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment. |
void |
setAttachTime(java.util.Date attachTime)
The time stamp when the attachment initiated. |
void |
setDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated. |
void |
setDeviceIndex(java.lang.Integer deviceIndex)
The index of the device on the instance for the network interface attachment. |
void |
setStatus(AttachmentStatus status)
The attachment state. |
void |
setStatus(java.lang.String status)
The attachment state. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceNetworkInterfaceAttachment |
withAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment. |
InstanceNetworkInterfaceAttachment |
withAttachTime(java.util.Date attachTime)
The time stamp when the attachment initiated. |
InstanceNetworkInterfaceAttachment |
withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated. |
InstanceNetworkInterfaceAttachment |
withDeviceIndex(java.lang.Integer deviceIndex)
The index of the device on the instance for the network interface attachment. |
InstanceNetworkInterfaceAttachment |
withStatus(AttachmentStatus status)
The attachment state. |
InstanceNetworkInterfaceAttachment |
withStatus(java.lang.String status)
The attachment state. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceNetworkInterfaceAttachment()
Method Detail |
---|
public java.lang.String getAttachmentId()
public void setAttachmentId(java.lang.String attachmentId)
attachmentId
- The ID of the network interface attachment.public InstanceNetworkInterfaceAttachment withAttachmentId(java.lang.String attachmentId)
Returns a reference to this object so that method calls can be chained together.
attachmentId
- The ID of the network interface attachment.
public java.lang.Integer getDeviceIndex()
public void setDeviceIndex(java.lang.Integer deviceIndex)
deviceIndex
- The index of the device on the instance for the network interface
attachment.public InstanceNetworkInterfaceAttachment withDeviceIndex(java.lang.Integer deviceIndex)
Returns a reference to this object so that method calls can be chained together.
deviceIndex
- The index of the device on the instance for the network interface
attachment.
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 InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAttachment 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 network interface is deleted when the instance
is terminated.public InstanceNetworkInterfaceAttachment withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination
- Indicates whether the network interface is deleted when the instance
is terminated.
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 |