com.amazonaws.services.ec2.model
Class PrivateIpAddressSpecification

java.lang.Object
  extended by com.amazonaws.services.ec2.model.PrivateIpAddressSpecification

public class PrivateIpAddressSpecification
extends Object

Private Ip Address Specification


Constructor Summary
PrivateIpAddressSpecification()
           
 
Method Summary
 boolean equals(Object obj)
           
 Boolean getPrimary()
          Returns the value of the Primary 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 setPrimary(Boolean primary)
          Sets the value of the Primary 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.
 PrivateIpAddressSpecification withPrimary(Boolean primary)
          Sets the value of the Primary property for this object.
 PrivateIpAddressSpecification 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

PrivateIpAddressSpecification

public PrivateIpAddressSpecification()
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 PrivateIpAddressSpecification 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.

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 PrivateIpAddressSpecification 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.

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.