@Generated(value="software.amazon.awssdk:codegen") public final class IpSet extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpSet.Builder,IpSet>
A complex type for the set of IP addresses for an accelerator.
| Modifier and Type | Class and Description |
|---|---|
static interface |
IpSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static IpSet.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasIpAddresses()
Returns true if the IpAddresses property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<String> |
ipAddresses()
The array of IP addresses in the IP address set.
|
String |
ipFamily()
The types of IP addresses included in this IP set.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends IpSet.Builder> |
serializableBuilderClass() |
IpSet.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String ipFamily()
The types of IP addresses included in this IP set.
public final boolean hasIpAddresses()
public final List<String> ipAddresses()
The array of IP addresses in the IP address set. An IP address set can have a maximum of two IP addresses.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIpAddresses() to see if a value was sent in this field.
public IpSet.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<IpSet.Builder,IpSet>public static IpSet.Builder builder()
public static Class<? extends IpSet.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.