public class NetworkInterfaceAttachmentChanges extends Object implements Serializable, Cloneable
Describes an attachment change.
| Constructor and Description |
|---|
NetworkInterfaceAttachmentChanges() |
| Modifier and Type | Method and Description |
|---|---|
NetworkInterfaceAttachmentChanges |
clone() |
boolean |
equals(Object obj) |
String |
getAttachmentId()
The ID of the network interface attachment.
|
Boolean |
getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance
is terminated.
|
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 |
setDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance
is terminated.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
NetworkInterfaceAttachmentChanges |
withAttachmentId(String attachmentId)
The ID of the network interface attachment.
|
NetworkInterfaceAttachmentChanges |
withDeleteOnTermination(Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance
is terminated.
|
public String getAttachmentId()
public void setAttachmentId(String attachmentId)
attachmentId - The ID of the network interface attachment.public NetworkInterfaceAttachmentChanges withAttachmentId(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 Boolean isDeleteOnTermination()
public void setDeleteOnTermination(Boolean deleteOnTermination)
deleteOnTermination - Indicates whether the network interface is deleted when the instance
is terminated.public NetworkInterfaceAttachmentChanges withDeleteOnTermination(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 Boolean getDeleteOnTermination()
public String toString()
toString in class ObjectObject.toString()public NetworkInterfaceAttachmentChanges clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.