com.amazonaws.services.ec2.model
Class InstanceNetworkInterfaceAssociation

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

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

Describes association information for an Elastic IP address.

See Also:
Serialized Form

Constructor Summary
InstanceNetworkInterfaceAssociation()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getIpOwnerId()
          The ID of the owner of the Elastic IP address.
 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 setIpOwnerId(java.lang.String ipOwnerId)
          The ID of the owner of the Elastic IP address.
 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.
 InstanceNetworkInterfaceAssociation withIpOwnerId(java.lang.String ipOwnerId)
          The ID of the owner of the Elastic IP address.
 InstanceNetworkInterfaceAssociation withPublicDnsName(java.lang.String publicDnsName)
          The public DNS name.
 InstanceNetworkInterfaceAssociation 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

InstanceNetworkInterfaceAssociation

public InstanceNetworkInterfaceAssociation()
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 InstanceNetworkInterfaceAssociation 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 InstanceNetworkInterfaceAssociation 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 owner of the Elastic IP address.

Returns:
The ID of the owner of the Elastic IP address.

setIpOwnerId

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

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

withIpOwnerId

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

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

Parameters:
ipOwnerId - The ID of the owner of the Elastic IP address.
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.