@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateIpAddressSpecification extends Object implements Serializable, Cloneable
Describes a secondary private IPv4 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 IPv4 address is the primary private IPv4 address.
|
String |
getPrivateIpAddress()
The private IPv4 address.
|
int |
hashCode() |
Boolean |
isPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
void |
setPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
void |
setPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
|
String |
toString()
Returns a string representation of this object.
|
PrivateIpAddressSpecification |
withPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
PrivateIpAddressSpecification |
withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
|
public void setPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can
be designated as primary.public Boolean getPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
public PrivateIpAddressSpecification withPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
primary
- Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can
be designated as primary.public Boolean isPrimary()
Indicates whether the private IPv4 address is the primary private IPv4 address. Only one IPv4 address can be designated as primary.
public void setPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String getPrivateIpAddress()
The private IPv4 address.
public PrivateIpAddressSpecification withPrivateIpAddress(String privateIpAddress)
The private IPv4 address.
privateIpAddress
- The private IPv4 address.public String toString()
toString
in class Object
Object.toString()
public PrivateIpAddressSpecification clone()