@Generated(value="software.amazon.awssdk:codegen") public final class GeoMatchSetUpdate extends Object implements StructuredPojo, ToCopyableBuilder<GeoMatchSetUpdate.Builder,GeoMatchSetUpdate>
Specifies the type of update to perform to an GeoMatchSet with UpdateGeoMatchSet.
Modifier and Type | Class and Description |
---|---|
static interface |
GeoMatchSetUpdate.Builder |
Modifier and Type | Method and Description |
---|---|
ChangeAction |
action()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
String |
actionAsString()
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
static GeoMatchSetUpdate.Builder |
builder() |
boolean |
equals(Object obj) |
GeoMatchConstraint |
geoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends GeoMatchSetUpdate.Builder> |
serializableBuilderClass() |
GeoMatchSetUpdate.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 a country with UpdateGeoMatchSet.
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 a country with UpdateGeoMatchSet.
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 GeoMatchConstraint geoMatchConstraint()
The country from which web requests originate that you want AWS WAF to search for.
public GeoMatchSetUpdate.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<GeoMatchSetUpdate.Builder,GeoMatchSetUpdate>
public static GeoMatchSetUpdate.Builder builder()
public static Class<? extends GeoMatchSetUpdate.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.