public class NetworkInterfaceAttachmentChanges
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Describes an attachment change.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
attachmentId
The ID of the network interface attachment.
|
private java.lang.Boolean |
deleteOnTermination
Indicates whether the network interface is deleted when the instance is
terminated.
|
Constructor and Description |
---|
NetworkInterfaceAttachmentChanges() |
Modifier and Type | Method and Description |
---|---|
NetworkInterfaceAttachmentChanges |
clone() |
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.
|
private java.lang.String attachmentId
The ID of the network interface attachment.
private java.lang.Boolean deleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
public void setAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public java.lang.String getAttachmentId()
The ID of the network interface attachment.
public NetworkInterfaceAttachmentChanges withAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public void setDeleteOnTermination(java.lang.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 java.lang.Boolean getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public NetworkInterfaceAttachmentChanges withDeleteOnTermination(java.lang.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 java.lang.Boolean isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public NetworkInterfaceAttachmentChanges clone()
clone
in class java.lang.Object