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 void setPrivateIpAddress(String privateIpAddress)
The private IP addresses.
privateIpAddress
- The private IP addresses.public String getPrivateIpAddress()
The private IP addresses.
public PrivateIpAddressSpecification withPrivateIpAddress(String privateIpAddress)
The private IP addresses.
privateIpAddress
- The private IP addresses.public void setPrimary(Boolean primary)
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
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()
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)
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
primary
- Indicates whether the private IP address is the primary private IP
address. Only one IP address can be designated as primary.public Boolean isPrimary()
Indicates whether the private IP address is the primary private IP address. Only one IP address can be designated as primary.
public String toString()
toString
in class Object
Object.toString()
public PrivateIpAddressSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.