com.amazonaws.services.ec2.model
Class NetworkInterfaceAttachmentChanges

java.lang.Object
  extended by com.amazonaws.services.ec2.model.NetworkInterfaceAttachmentChanges
All Implemented Interfaces:
java.io.Serializable

public class NetworkInterfaceAttachmentChanges
extends java.lang.Object
implements java.io.Serializable

Describes an attachment change.

See Also:
Serialized Form

Constructor Summary
NetworkInterfaceAttachmentChanges()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterfaceAttachmentChanges

public NetworkInterfaceAttachmentChanges()
Method Detail

getAttachmentId

public java.lang.String getAttachmentId()
The ID of the network interface attachment.

Returns:
The ID of the network interface attachment.

setAttachmentId

public void setAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment.

Parameters:
attachmentId - The ID of the network interface attachment.

withAttachmentId

public NetworkInterfaceAttachmentChanges withAttachmentId(java.lang.String attachmentId)
The ID of the network interface attachment.

Returns a reference to this object so that method calls can be chained together.

Parameters:
attachmentId - The ID of the network interface attachment.
Returns:
A reference to this updated object so that method calls can be chained together.

isDeleteOnTermination

public java.lang.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.

setDeleteOnTermination

public void setDeleteOnTermination(java.lang.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.

withDeleteOnTermination

public NetworkInterfaceAttachmentChanges withDeleteOnTermination(java.lang.Boolean deleteOnTermination)
Indicates whether the network interface is deleted when the instance is terminated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
deleteOnTermination - Indicates whether the network interface is deleted when the instance is terminated.
Returns:
A reference to this updated object so that method calls can be chained together.

getDeleteOnTermination

public java.lang.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.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.