@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InstanceNetworkInterfaceAttachment extends Object implements Serializable, Cloneable
Describes a network interface attachment.
Constructor and Description |
---|
InstanceNetworkInterfaceAttachment() |
Modifier and Type | Method and Description |
---|---|
InstanceNetworkInterfaceAttachment |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the network interface attachment.
|
Date |
getAttachTime()
The time stamp when the attachment initiated.
|
Boolean |
getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
Integer |
getDeviceIndex()
The index of the device on the instance for the network interface attachment.
|
String |
getStatus()
The attachment state.
|
int |
hashCode() |
Boolean |
isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
|
void |
setAttachmentId(String attachmentId)
The ID of the network interface attachment.
|
void |
setAttachTime(Date attachTime)
The time stamp when the attachment initiated.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
void |
setDeviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
|
void |
setStatus(AttachmentStatus status)
The attachment state.
|
void |
setStatus(String status)
The attachment state.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
InstanceNetworkInterfaceAttachment |
withAttachmentId(String attachmentId)
The ID of the network interface attachment.
|
InstanceNetworkInterfaceAttachment |
withAttachTime(Date attachTime)
The time stamp when the attachment initiated.
|
InstanceNetworkInterfaceAttachment |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
|
InstanceNetworkInterfaceAttachment |
withDeviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
|
InstanceNetworkInterfaceAttachment |
withStatus(AttachmentStatus status)
The attachment state.
|
InstanceNetworkInterfaceAttachment |
withStatus(String status)
The attachment state.
|
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 InstanceNetworkInterfaceAttachment withAttachTime(Date attachTime)
The time stamp when the attachment initiated.
attachTime
- The time stamp when the attachment initiated.public void setAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public String getAttachmentId()
The ID of the network interface attachment.
public InstanceNetworkInterfaceAttachment withAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public void setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.public Boolean getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public InstanceNetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.public Boolean isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public void setDeviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
deviceIndex
- The index of the device on the instance for the network interface attachment.public Integer getDeviceIndex()
The index of the device on the instance for the network interface attachment.
public InstanceNetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex)
The index of the device on the instance for the network interface attachment.
deviceIndex
- The index of the device on the instance for the network interface attachment.public void setStatus(String status)
The attachment state.
status
- The attachment state.AttachmentStatus
public String getStatus()
The attachment state.
AttachmentStatus
public InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAttachment withStatus(AttachmentStatus status)
The attachment state.
status
- The attachment state.AttachmentStatus
public String toString()
toString
in class Object
Object.toString()
public InstanceNetworkInterfaceAttachment clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.