Package com.amazonaws.services.ec2.model
Class NetworkInterfaceAttachmentChanges
java.lang.Object
com.amazonaws.services.ec2.model.NetworkInterfaceAttachmentChanges
- All Implemented Interfaces:
Serializable
,Cloneable
Describes an attachment change.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the network interface attachment.Indicates whether the network interface is deleted when the instance is terminated.int
hashCode()
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.toString()
Returns a string representation of this object; useful for testing and debugging.withAttachmentId
(String attachmentId) The ID of the network interface attachment.withDeleteOnTermination
(Boolean deleteOnTermination) Indicates whether the network interface is deleted when the instance is terminated.
-
Constructor Details
-
NetworkInterfaceAttachmentChanges
public NetworkInterfaceAttachmentChanges()
-
-
Method Details
-
setAttachmentId
The ID of the network interface attachment.
- Parameters:
attachmentId
- The ID of the network interface attachment.
-
getAttachmentId
The ID of the network interface attachment.
- Returns:
- The ID of the network interface attachment.
-
withAttachmentId
The ID of the network interface attachment.
- Parameters:
attachmentId
- The ID of the network interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Parameters:
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.
-
getDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Returns:
- Indicates whether the network interface is deleted when the instance is terminated.
-
withDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Parameters:
deleteOnTermination
- Indicates whether the network interface is deleted when the instance is terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isDeleteOnTermination
Indicates whether the network interface is deleted when the instance is terminated.
- Returns:
- Indicates whether the network interface is deleted when the instance is terminated.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-