Did this page help you?

   Yes   No   Tell us about it...

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

Network Interface Private Ip Address

See Also:
Serialized Form

Constructor Summary
NetworkInterfacePrivateIpAddress()
           
 
Method Summary
 boolean equals(Object obj)
           
 NetworkInterfaceAssociation getAssociation()
          Returns the value of the Association property for this object.
 Boolean getPrimary()
          Returns the value of the Primary property for this object.
 String getPrivateDnsName()
          Returns the value of the PrivateDnsName property for this object.
 String getPrivateIpAddress()
          Returns the value of the PrivateIpAddress property for this object.
 int hashCode()
           
 Boolean isPrimary()
          Returns the value of the Primary property for this object.
 void setAssociation(NetworkInterfaceAssociation association)
          Sets the value of the Association property for this object.
 void setPrimary(Boolean primary)
          Sets the value of the Primary property for this object.
 void setPrivateDnsName(String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 void setPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
          Sets the value of the Association property for this object.
 NetworkInterfacePrivateIpAddress withPrimary(Boolean primary)
          Sets the value of the Primary property for this object.
 NetworkInterfacePrivateIpAddress withPrivateDnsName(String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
          Sets the value of the PrivateIpAddress property for this object.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NetworkInterfacePrivateIpAddress

public NetworkInterfacePrivateIpAddress()
Method Detail

getPrivateIpAddress

public String getPrivateIpAddress()
Returns the value of the PrivateIpAddress property for this object.

Returns:
The value of the PrivateIpAddress property for this object.

setPrivateIpAddress

public void setPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.

withPrivateIpAddress

public NetworkInterfacePrivateIpAddress withPrivateIpAddress(String privateIpAddress)
Sets the value of the PrivateIpAddress property for this object.

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

Parameters:
privateIpAddress - The new value for the PrivateIpAddress property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateDnsName

public String getPrivateDnsName()
Returns the value of the PrivateDnsName property for this object.

Returns:
The value of the PrivateDnsName property for this object.

setPrivateDnsName

public void setPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.

Parameters:
privateDnsName - The new value for the PrivateDnsName property for this object.

withPrivateDnsName

public NetworkInterfacePrivateIpAddress withPrivateDnsName(String privateDnsName)
Sets the value of the PrivateDnsName property for this object.

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

Parameters:
privateDnsName - The new value for the PrivateDnsName property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

isPrimary

public Boolean isPrimary()
Returns the value of the Primary property for this object.

Returns:
The value of the Primary property for this object.

setPrimary

public void setPrimary(Boolean primary)
Sets the value of the Primary property for this object.

Parameters:
primary - The new value for the Primary property for this object.

withPrimary

public NetworkInterfacePrivateIpAddress withPrimary(Boolean primary)
Sets the value of the Primary property for this object.

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

Parameters:
primary - The new value for the Primary property for this object.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrimary

public Boolean getPrimary()
Returns the value of the Primary property for this object.

Returns:
The value of the Primary property for this object.

getAssociation

public NetworkInterfaceAssociation getAssociation()
Returns the value of the Association property for this object.

Returns:
The value of the Association property for this object.

setAssociation

public void setAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.

Parameters:
association - The new value for the Association property for this object.

withAssociation

public NetworkInterfacePrivateIpAddress withAssociation(NetworkInterfaceAssociation association)
Sets the value of the Association property for this object.

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

Parameters:
association - The new value for the Association property for this object.
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 © 2010 Amazon Web Services, Inc. All Rights Reserved.