@Generated(value="software.amazon.awssdk:codegen") public final class IPSetUpdate extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IPSetUpdate.Builder,IPSetUpdate>
Specifies the type of update to perform to an IPSet with UpdateIPSet.
Modifier and Type | Class and Description |
---|---|
static interface |
IPSetUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
ChangeAction |
action()
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
String |
actionAsString()
Specifies whether to insert or delete an IP address with UpdateIPSet.
|
static IPSetUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
IPSetDescriptor |
ipSetDescriptor()
The IP address type (
IPV4 or IPV6 ) and the IP address range (in CIDR notation) that web
requests originate from. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends IPSetUpdate.Builder> |
serializableBuilderClass() |
IPSetUpdate.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public ChangeAction action()
Specifies whether to insert or delete an IP address with UpdateIPSet.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
ChangeAction
public String actionAsString()
Specifies whether to insert or delete an IP address with UpdateIPSet.
If the service returns an enum value that is not available in the current SDK version, action
will
return ChangeAction.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
actionAsString()
.
ChangeAction
public IPSetDescriptor ipSetDescriptor()
The IP address type (IPV4
or IPV6
) and the IP address range (in CIDR notation) that web
requests originate from.
IPV4
or IPV6
) and the IP address range (in CIDR notation)
that web requests originate from.public IPSetUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<IPSetUpdate.Builder,IPSetUpdate>
public static IPSetUpdate.Builder builder()
public static Class<? extends IPSetUpdate.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.