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