com.amazonaws.services.ec2.model
Class NetworkInterfaceAssociation

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

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

Describes association information for an Elastic IP address.

See Also:
Serialized Form

Constructor Summary
NetworkInterfaceAssociation()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAllocationId()
          The allocation ID.
 java.lang.String getAssociationId()
          The association ID.
 java.lang.String getIpOwnerId()
          The ID of the Elastic IP address owner.
 java.lang.String getPublicDnsName()
          The public DNS name.
 java.lang.String getPublicIp()
          The address of the Elastic IP address bound to the network interface.
 int hashCode()
           
 void setAllocationId(java.lang.String allocationId)
          The allocation ID.
 void setAssociationId(java.lang.String associationId)
          The association ID.
 void setIpOwnerId(java.lang.String ipOwnerId)
          The ID of the Elastic IP address owner.
 void setPublicDnsName(java.lang.String publicDnsName)
          The public DNS name.
 void setPublicIp(java.lang.String publicIp)
          The address of the Elastic IP address bound to the network interface.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkInterfaceAssociation withAllocationId(java.lang.String allocationId)
          The allocation ID.
 NetworkInterfaceAssociation withAssociationId(java.lang.String associationId)
          The association ID.
 NetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
          The ID of the Elastic IP address owner.
 NetworkInterfaceAssociation withPublicDnsName(java.lang.String publicDnsName)
          The public DNS name.
 NetworkInterfaceAssociation withPublicIp(java.lang.String publicIp)
          The address of the Elastic IP address bound to the network interface.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterfaceAssociation

public NetworkInterfaceAssociation()
Method Detail

getPublicIp

public java.lang.String getPublicIp()
The address of the Elastic IP address bound to the network interface.

Returns:
The address of the Elastic IP address bound to the network interface.

setPublicIp

public void setPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.

Parameters:
publicIp - The address of the Elastic IP address bound to the network interface.

withPublicIp

public NetworkInterfaceAssociation withPublicIp(java.lang.String publicIp)
The address of the Elastic IP address bound to the network interface.

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

Parameters:
publicIp - The address of the Elastic IP address bound to the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicDnsName

public java.lang.String getPublicDnsName()
The public DNS name.

Returns:
The public DNS name.

setPublicDnsName

public void setPublicDnsName(java.lang.String publicDnsName)
The public DNS name.

Parameters:
publicDnsName - The public DNS name.

withPublicDnsName

public NetworkInterfaceAssociation withPublicDnsName(java.lang.String publicDnsName)
The public DNS name.

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

Parameters:
publicDnsName - The public DNS name.
Returns:
A reference to this updated object so that method calls can be chained together.

getIpOwnerId

public java.lang.String getIpOwnerId()
The ID of the Elastic IP address owner.

Returns:
The ID of the Elastic IP address owner.

setIpOwnerId

public void setIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.

Parameters:
ipOwnerId - The ID of the Elastic IP address owner.

withIpOwnerId

public NetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
The ID of the Elastic IP address owner.

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

Parameters:
ipOwnerId - The ID of the Elastic IP address owner.
Returns:
A reference to this updated object so that method calls can be chained together.

getAllocationId

public java.lang.String getAllocationId()
The allocation ID.

Returns:
The allocation ID.

setAllocationId

public void setAllocationId(java.lang.String allocationId)
The allocation ID.

Parameters:
allocationId - The allocation ID.

withAllocationId

public NetworkInterfaceAssociation withAllocationId(java.lang.String allocationId)
The allocation ID.

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

Parameters:
allocationId - The allocation ID.
Returns:
A reference to this updated object so that method calls can be chained together.

getAssociationId

public java.lang.String getAssociationId()
The association ID.

Returns:
The association ID.

setAssociationId

public void setAssociationId(java.lang.String associationId)
The association ID.

Parameters:
associationId - The association ID.

withAssociationId

public NetworkInterfaceAssociation withAssociationId(java.lang.String associationId)
The association ID.

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

Parameters:
associationId - The association ID.
Returns:
A reference to this updated object so that method calls can be chained together.

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.