com.amazonaws.services.ec2.model
Class NetworkInterfacePrivateIpAddress

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

public class NetworkInterfacePrivateIpAddress
extends Object
implements Serializable

Describes the private IP address of a network interface.

See Also:
Serialized Form

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

Constructor Detail

NetworkInterfacePrivateIpAddress

public NetworkInterfacePrivateIpAddress()
Method Detail

getPrivateIpAddress

public String getPrivateIpAddress()
The private IP address.

Returns:
The private IP address.

setPrivateIpAddress

public void setPrivateIpAddress(String privateIpAddress)
The private IP address.

Parameters:
privateIpAddress - The private IP address.

withPrivateIpAddress

public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
The private IP address.

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

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

getPrivateDnsName

public String getPrivateDnsName()
The private DNS name.

Returns:
The private DNS name.

setPrivateDnsName

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

Parameters:
privateDnsName - The private DNS name.

withPrivateDnsName

public NetworkInterfacePrivateIpAddress withPrivateDnsName(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 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(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 NetworkInterfacePrivateIpAddress withPrimary(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 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 NetworkInterfaceAssociation getAssociation()
The association information for an Elastic IP address associated with the network interface.

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

setAssociation

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

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

withAssociation

public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
The association information for an Elastic IP address associated with 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 associated with the network interface.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2016. All rights reserved.