public class NetworkInterfaceAttachment extends Object implements Serializable
Constructor and Description |
---|
NetworkInterfaceAttachment() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAttachmentId()
Returns the value of the AttachmentId property for this object.
|
Date |
getAttachTime()
Returns the value of the AttachTime property for this object.
|
Boolean |
getDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.
|
Integer |
getDeviceIndex()
Returns the value of the DeviceIndex property for this object.
|
String |
getInstanceId()
Returns the value of the InstanceId property for this object.
|
String |
getInstanceOwnerId()
Returns the value of the InstanceOwnerId property for this object.
|
String |
getStatus()
Returns the value of the Status property for this object.
|
int |
hashCode() |
Boolean |
isDeleteOnTermination()
Returns the value of the DeleteOnTermination property for this object.
|
void |
setAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.
|
void |
setAttachTime(Date attachTime)
Sets the value of the AttachTime property for this object.
|
void |
setDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.
|
void |
setDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.
|
void |
setInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.
|
void |
setInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.
|
void |
setStatus(AttachmentStatus status)
Sets the value of the Status property for this object.
|
void |
setStatus(String status)
Sets the value of the Status property for this object.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkInterfaceAttachment |
withAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.
|
NetworkInterfaceAttachment |
withAttachTime(Date attachTime)
Sets the value of the AttachTime property for this object.
|
NetworkInterfaceAttachment |
withDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.
|
NetworkInterfaceAttachment |
withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.
|
NetworkInterfaceAttachment |
withInstanceId(String instanceId)
Sets the value of the InstanceId property for this object.
|
NetworkInterfaceAttachment |
withInstanceOwnerId(String instanceOwnerId)
Sets the value of the InstanceOwnerId property for this object.
|
NetworkInterfaceAttachment |
withStatus(AttachmentStatus status)
Sets the value of the Status property for this object.
|
NetworkInterfaceAttachment |
withStatus(String status)
Sets the value of the Status property for this object.
|
public String getAttachmentId()
public void setAttachmentId(String attachmentId)
attachmentId
- The new value for the AttachmentId property for this object.public NetworkInterfaceAttachment withAttachmentId(String attachmentId)
Returns a reference to this object so that method calls can be chained together.
attachmentId
- The new value for the AttachmentId property for this object.public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId
- The new value for the InstanceId property for this object.public NetworkInterfaceAttachment withInstanceId(String instanceId)
Returns a reference to this object so that method calls can be chained together.
instanceId
- The new value for the InstanceId property for this object.public String getInstanceOwnerId()
public void setInstanceOwnerId(String instanceOwnerId)
instanceOwnerId
- The new value for the InstanceOwnerId property for this object.public NetworkInterfaceAttachment withInstanceOwnerId(String instanceOwnerId)
Returns a reference to this object so that method calls can be chained together.
instanceOwnerId
- The new value for the InstanceOwnerId property for this object.public Integer getDeviceIndex()
public void setDeviceIndex(Integer deviceIndex)
deviceIndex
- The new value for the DeviceIndex property for this object.public NetworkInterfaceAttachment withDeviceIndex(Integer deviceIndex)
Returns a reference to this object so that method calls can be chained together.
deviceIndex
- The new value for the DeviceIndex property for this object.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 new value for the Status property for this object.AttachmentStatus
public NetworkInterfaceAttachment 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 new value for the Status property for this object.AttachmentStatus
public void setStatus(AttachmentStatus status)
Constraints:
Allowed Values: attaching, attached, detaching, detached
status
- The new value for the Status property for this object.AttachmentStatus
public NetworkInterfaceAttachment 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 new value for the Status property for this object.AttachmentStatus
public Date getAttachTime()
public void setAttachTime(Date attachTime)
attachTime
- The new value for the AttachTime property for this object.public NetworkInterfaceAttachment withAttachTime(Date attachTime)
Returns a reference to this object so that method calls can be chained together.
attachTime
- The new value for the AttachTime property for this object.public Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination
- The new value for the DeleteOnTermination property for this object.public NetworkInterfaceAttachment withDeleteOnTermination(Boolean deleteOnTermination)
Returns a reference to this object so that method calls can be chained together.
deleteOnTermination
- The new value for the DeleteOnTermination property for this object.public Boolean getDeleteOnTermination()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.