@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 addresses.
|
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 addresses.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PrivateIpAddressSpecification |
withPrimary(Boolean primary)
Indicates whether the private IPv4 address is the primary private IPv4 address.
|
PrivateIpAddressSpecification |
withPrivateIpAddress(String privateIpAddress)
The private IPv4 addresses.
|
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 addresses.
privateIpAddress
- The private IPv4 addresses.public String getPrivateIpAddress()
The private IPv4 addresses.
public PrivateIpAddressSpecification withPrivateIpAddress(String privateIpAddress)
The private IPv4 addresses.
privateIpAddress
- The private IPv4 addresses.public String toString()
toString
in class Object
Object.toString()
public PrivateIpAddressSpecification clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.