@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpAddresses extends Object implements Serializable, Cloneable, StructuredPojo
The IP addresses for a host.
Constructor and Description |
---|
IpAddresses() |
Modifier and Type | Method and Description |
---|---|
IpAddresses |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIpV4Addresses()
The IpV4 address of the network.
|
List<String> |
getIpV6Addresses()
The IpV6 address for the network and node component.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpV4Addresses(Collection<String> ipV4Addresses)
The IpV4 address of the network.
|
void |
setIpV6Addresses(Collection<String> ipV6Addresses)
The IpV6 address for the network and node component.
|
String |
toString()
Returns a string representation of this object.
|
IpAddresses |
withIpV4Addresses(Collection<String> ipV4Addresses)
The IpV4 address of the network.
|
IpAddresses |
withIpV4Addresses(String... ipV4Addresses)
The IpV4 address of the network.
|
IpAddresses |
withIpV6Addresses(Collection<String> ipV6Addresses)
The IpV6 address for the network and node component.
|
IpAddresses |
withIpV6Addresses(String... ipV6Addresses)
The IpV6 address for the network and node component.
|
public List<String> getIpV4Addresses()
The IpV4 address of the network.
public void setIpV4Addresses(Collection<String> ipV4Addresses)
The IpV4 address of the network.
ipV4Addresses
- The IpV4 address of the network.public IpAddresses withIpV4Addresses(String... ipV4Addresses)
The IpV4 address of the network.
NOTE: This method appends the values to the existing list (if any). Use
setIpV4Addresses(java.util.Collection)
or withIpV4Addresses(java.util.Collection)
if you want
to override the existing values.
ipV4Addresses
- The IpV4 address of the network.public IpAddresses withIpV4Addresses(Collection<String> ipV4Addresses)
The IpV4 address of the network.
ipV4Addresses
- The IpV4 address of the network.public List<String> getIpV6Addresses()
The IpV6 address for the network and node component.
public void setIpV6Addresses(Collection<String> ipV6Addresses)
The IpV6 address for the network and node component.
ipV6Addresses
- The IpV6 address for the network and node component.public IpAddresses withIpV6Addresses(String... ipV6Addresses)
The IpV6 address for the network and node component.
NOTE: This method appends the values to the existing list (if any). Use
setIpV6Addresses(java.util.Collection)
or withIpV6Addresses(java.util.Collection)
if you want
to override the existing values.
ipV6Addresses
- The IpV6 address for the network and node component.public IpAddresses withIpV6Addresses(Collection<String> ipV6Addresses)
The IpV6 address for the network and node component.
ipV6Addresses
- The IpV6 address for the network and node component.public String toString()
toString
in class Object
Object.toString()
public IpAddresses clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.