public class PrivateIpAddressSpecification extends Object implements Serializable, Cloneable
Describes a secondary private IP address for a network interface.
Constructor and Description |
---|
PrivateIpAddressSpecification() |
Modifier and Type | Method and Description |
---|---|
PrivateIpAddressSpecification |
clone() |
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.
|
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- The private IP addresses.public PrivateIpAddressSpecification withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- The private IP addresses.public Boolean isPrimary()
public void setPrimary(Boolean primary)
primary
- Indicates whether the private IP address is the primary private IP
address. Only one IP address can be designated as primary.public PrivateIpAddressSpecification withPrimary(Boolean primary)
Returns a reference to this object so that method calls can be chained together.
primary
- Indicates whether the private IP address is the primary private IP
address. Only one IP address can be designated as primary.public Boolean getPrimary()
public String toString()
toString
in class Object
Object.toString()
public PrivateIpAddressSpecification clone()
Copyright © 2015. All rights reserved.