com.amazonaws.services.ec2.model
Class PrivateIpAddressSpecification

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

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

Describes a secondary private IP address for a network interface.

See Also:
Serialized Form

Constructor Summary
PrivateIpAddressSpecification()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getPrimary()
          Indicates whether the private IP address is the primary private IP address.
 java.lang.String getPrivateIpAddress()
          The private IP addresses.
 int hashCode()
           
 java.lang.Boolean isPrimary()
          Indicates whether the private IP address is the primary private IP address.
 void setPrimary(java.lang.Boolean primary)
          Indicates whether the private IP address is the primary private IP address.
 void setPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP addresses.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PrivateIpAddressSpecification withPrimary(java.lang.Boolean primary)
          Indicates whether the private IP address is the primary private IP address.
 PrivateIpAddressSpecification withPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP addresses.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PrivateIpAddressSpecification

public PrivateIpAddressSpecification()
Method Detail

getPrivateIpAddress

public java.lang.String getPrivateIpAddress()
The private IP addresses.

Returns:
The private IP addresses.

setPrivateIpAddress

public void setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP addresses.

Parameters:
privateIpAddress - The private IP addresses.

withPrivateIpAddress

public PrivateIpAddressSpecification withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP addresses.

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

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

isPrimary

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

Returns:
Indicates whether the private IP address is the primary private IP address.

setPrimary

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

Parameters:
primary - Indicates whether the private IP address is the primary private IP address.

withPrimary

public PrivateIpAddressSpecification withPrimary(java.lang.Boolean primary)
Indicates whether the private IP address is the primary private IP address.

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

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

getPrimary

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

Returns:
Indicates whether the private IP address is the primary private IP address.

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.