@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IpSet extends Object implements Serializable, Cloneable, StructuredPojo
A complex type for the set of IP addresses for an accelerator.
Constructor and Description |
---|
IpSet() |
Modifier and Type | Method and Description |
---|---|
IpSet |
clone() |
boolean |
equals(Object obj) |
List<String> |
getIpAddresses()
The array of IP addresses in the IP address set.
|
String |
getIpAddressFamily()
The types of IP addresses included in this IP set.
|
String |
getIpFamily()
Deprecated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIpAddresses(Collection<String> ipAddresses)
The array of IP addresses in the IP address set.
|
void |
setIpAddressFamily(String ipAddressFamily)
The types of IP addresses included in this IP set.
|
void |
setIpFamily(String ipFamily)
Deprecated.
|
String |
toString()
Returns a string representation of this object.
|
IpSet |
withIpAddresses(Collection<String> ipAddresses)
The array of IP addresses in the IP address set.
|
IpSet |
withIpAddresses(String... ipAddresses)
The array of IP addresses in the IP address set.
|
IpSet |
withIpAddressFamily(IpAddressFamily ipAddressFamily)
The types of IP addresses included in this IP set.
|
IpSet |
withIpAddressFamily(String ipAddressFamily)
The types of IP addresses included in this IP set.
|
IpSet |
withIpFamily(String ipFamily)
Deprecated.
|
@Deprecated public void setIpFamily(String ipFamily)
IpFamily is deprecated and has been replaced by IpAddressFamily.
ipFamily
- IpFamily is deprecated and has been replaced by IpAddressFamily.@Deprecated public String getIpFamily()
IpFamily is deprecated and has been replaced by IpAddressFamily.
@Deprecated public IpSet withIpFamily(String ipFamily)
IpFamily is deprecated and has been replaced by IpAddressFamily.
ipFamily
- IpFamily is deprecated and has been replaced by IpAddressFamily.public List<String> getIpAddresses()
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
public void setIpAddresses(Collection<String> ipAddresses)
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
ipAddresses
- The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.public IpSet withIpAddresses(String... ipAddresses)
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
NOTE: This method appends the values to the existing list (if any). Use
setIpAddresses(java.util.Collection)
or withIpAddresses(java.util.Collection)
if you want to
override the existing values.
ipAddresses
- The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.public IpSet withIpAddresses(Collection<String> ipAddresses)
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
ipAddresses
- The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.public void setIpAddressFamily(String ipAddressFamily)
The types of IP addresses included in this IP set.
ipAddressFamily
- The types of IP addresses included in this IP set.IpAddressFamily
public String getIpAddressFamily()
The types of IP addresses included in this IP set.
IpAddressFamily
public IpSet withIpAddressFamily(String ipAddressFamily)
The types of IP addresses included in this IP set.
ipAddressFamily
- The types of IP addresses included in this IP set.IpAddressFamily
public IpSet withIpAddressFamily(IpAddressFamily ipAddressFamily)
The types of IP addresses included in this IP set.
ipAddressFamily
- The types of IP addresses included in this IP set.IpAddressFamily
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.