@Generated(value="com.amazonaws:aws-java-sdk-code-generator") 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 void setAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public String getAttachmentId()
The ID of the network interface attachment.
public NetworkInterfaceAttachmentChanges withAttachmentId(String attachmentId)
The ID of the network interface attachment.
attachmentId
- The ID of the network interface attachment.public void setDeleteOnTermination(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 Boolean getDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public NetworkInterfaceAttachmentChanges withDeleteOnTermination(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 Boolean isDeleteOnTermination()
Indicates whether the network interface is deleted when the instance is terminated.
public String toString()
toString
in class Object
Object.toString()
public NetworkInterfaceAttachmentChanges clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.