Package com.amazonaws.services.ec2.model
Class NetworkInterfaceAttachmentChanges
- java.lang.Object
-
- com.amazonaws.services.ec2.model.NetworkInterfaceAttachmentChanges
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class NetworkInterfaceAttachmentChanges extends Object implements Serializable, Cloneable
Describes an attachment change.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkInterfaceAttachmentChanges()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
setAttachmentId
public void setAttachmentId(String attachmentId)
The ID of the network interface attachment.
- Parameters:
attachmentId
- The ID of the network interface attachment.
-
getAttachmentId
public String getAttachmentId()
The ID of the network interface attachment.
- Returns:
- The ID of the network interface attachment.
-
withAttachmentId
public NetworkInterfaceAttachmentChanges withAttachmentId(String attachmentId)
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
public void setDeleteOnTermination(Boolean deleteOnTermination)
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
public Boolean 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
public NetworkInterfaceAttachmentChanges withDeleteOnTermination(Boolean deleteOnTermination)
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
public Boolean 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
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public NetworkInterfaceAttachmentChanges clone()
-
-