public class InstanceNetworkInterfaceAttachment extends Object implements Serializable
Constructor and Description |
---|
InstanceNetworkInterfaceAttachment() |
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 |
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 |
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.
|
InstanceNetworkInterfaceAttachment |
withAttachmentId(String attachmentId)
Sets the value of the AttachmentId property for this object.
|
InstanceNetworkInterfaceAttachment |
withAttachTime(Date attachTime)
Sets the value of the AttachTime property for this object.
|
InstanceNetworkInterfaceAttachment |
withDeleteOnTermination(Boolean deleteOnTermination)
Sets the value of the DeleteOnTermination property for this object.
|
InstanceNetworkInterfaceAttachment |
withDeviceIndex(Integer deviceIndex)
Sets the value of the DeviceIndex property for this object.
|
InstanceNetworkInterfaceAttachment |
withStatus(AttachmentStatus status)
Sets the value of the Status property for this object.
|
InstanceNetworkInterfaceAttachment |
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 InstanceNetworkInterfaceAttachment 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 Integer getDeviceIndex()
public void setDeviceIndex(Integer deviceIndex)
deviceIndex
- The new value for the DeviceIndex property for this object.public InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAttachment 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 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 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 InstanceNetworkInterfaceAttachment 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 InstanceNetworkInterfaceAttachment 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.