com.amazonaws.services.ec2.model
Class InstancePrivateIpAddress

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

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

Describes a private IP address.

See Also:
Serialized Form

Constructor Summary
InstancePrivateIpAddress()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 InstanceNetworkInterfaceAssociation getAssociation()
          The association information for an Elastic IP address for the network interface.
 java.lang.Boolean getPrimary()
          Indicates whether this IP address is the primary private IP address of the network interface.
 java.lang.String getPrivateDnsName()
          The private DNS name.
 java.lang.String getPrivateIpAddress()
          The private IP address of the network interface.
 int hashCode()
           
 java.lang.Boolean isPrimary()
          Indicates whether this IP address is the primary private IP address of the network interface.
 void setAssociation(InstanceNetworkInterfaceAssociation association)
          The association information for an Elastic IP address for the network interface.
 void setPrimary(java.lang.Boolean primary)
          Indicates whether this IP address is the primary private IP address of the network interface.
 void setPrivateDnsName(java.lang.String privateDnsName)
          The private DNS name.
 void setPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP address of the network interface.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
          The association information for an Elastic IP address for the network interface.
 InstancePrivateIpAddress withPrimary(java.lang.Boolean primary)
          Indicates whether this IP address is the primary private IP address of the network interface.
 InstancePrivateIpAddress withPrivateDnsName(java.lang.String privateDnsName)
          The private DNS name.
 InstancePrivateIpAddress withPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP address of the network interface.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstancePrivateIpAddress

public InstancePrivateIpAddress()
Method Detail

getPrivateIpAddress

public java.lang.String getPrivateIpAddress()
The private IP address of the network interface.

Returns:
The private IP address of the network interface.

setPrivateIpAddress

public void setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address of the network interface.

Parameters:
privateIpAddress - The private IP address of the network interface.

withPrivateIpAddress

public InstancePrivateIpAddress withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address of the network interface.

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

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

getPrivateDnsName

public java.lang.String getPrivateDnsName()
The private DNS name.

Returns:
The private DNS name.

setPrivateDnsName

public void setPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.

Parameters:
privateDnsName - The private DNS name.

withPrivateDnsName

public InstancePrivateIpAddress withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name.

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

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

isPrimary

public java.lang.Boolean isPrimary()
Indicates whether this IP address is the primary private IP address of the network interface.

Returns:
Indicates whether this IP address is the primary private IP address of the network interface.

setPrimary

public void setPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of the network interface.

Parameters:
primary - Indicates whether this IP address is the primary private IP address of the network interface.

withPrimary

public InstancePrivateIpAddress withPrimary(java.lang.Boolean primary)
Indicates whether this IP address is the primary private IP address of the network interface.

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

Parameters:
primary - Indicates whether this IP address is the primary private IP address of the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrimary

public java.lang.Boolean getPrimary()
Indicates whether this IP address is the primary private IP address of the network interface.

Returns:
Indicates whether this IP address is the primary private IP address of the network interface.

getAssociation

public InstanceNetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address for the network interface.

Returns:
The association information for an Elastic IP address for the network interface.

setAssociation

public void setAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.

Parameters:
association - The association information for an Elastic IP address for the network interface.

withAssociation

public InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
The association information for an Elastic IP address for the network interface.

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

Parameters:
association - The association information for an Elastic IP address for the network interface.
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.