Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.ec2.model
Class InstancePrivateIpAddress

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

public class InstancePrivateIpAddress
extends Object
implements Serializable

Instance Private Ip Address

See Also:
Serialized Form

Constructor Summary
InstancePrivateIpAddress()
           
 
Method Summary
 boolean equals(Object obj)
           
 InstanceNetworkInterfaceAssociation 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(InstanceNetworkInterfaceAssociation 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.
 InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation association)
          Sets the value of the Association property for this object.
 InstancePrivateIpAddress withPrimary(Boolean primary)
          Sets the value of the Primary property for this object.
 InstancePrivateIpAddress withPrivateDnsName(String privateDnsName)
          Sets the value of the PrivateDnsName property for this object.
 InstancePrivateIpAddress 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

InstancePrivateIpAddress

public InstancePrivateIpAddress()
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 InstancePrivateIpAddress 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 InstancePrivateIpAddress 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 InstancePrivateIpAddress 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 InstanceNetworkInterfaceAssociation 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(InstanceNetworkInterfaceAssociation 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 InstancePrivateIpAddress withAssociation(InstanceNetworkInterfaceAssociation 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.