com.amazonaws.services.ec2.model
Class PrivateIpAddressSpecification

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

public class PrivateIpAddressSpecification
extends Object
implements Serializable

Describes a secondary private IP address for a network interface.

See Also:
Serialized Form

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

Constructor Detail

PrivateIpAddressSpecification

public PrivateIpAddressSpecification()
Method Detail

getPrivateIpAddress

public String getPrivateIpAddress()
The private IP addresses.

Returns:
The private IP addresses.

setPrivateIpAddress

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

Parameters:
privateIpAddress - The private IP addresses.

withPrivateIpAddress

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