@Generated(value="software.amazon.awssdk:codegen") public class GeoMatchSet extends Object implements StructuredPojo, ToCopyableBuilder<GeoMatchSet.Builder,GeoMatchSet>
Contains one or more countries that AWS WAF will search for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GeoMatchSet.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GeoMatchSet.Builder |
builder() |
boolean |
equals(Object obj) |
List<GeoMatchConstraint> |
geoMatchConstraints()
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
|
String |
geoMatchSetId()
The
GeoMatchSetId for an GeoMatchSet. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
name()
A friendly name or description of the GeoMatchSet.
|
static Class<? extends GeoMatchSet.Builder> |
serializableBuilderClass() |
GeoMatchSet.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String geoMatchSetId()
The GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get
information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet (see
UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one from a
Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see
DeleteGeoMatchSet).
GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.
GeoMatchSetId for an GeoMatchSet. You use GeoMatchSetId to get
information about a GeoMatchSet (see GeoMatchSet), update a GeoMatchSet
(see UpdateGeoMatchSet), insert a GeoMatchSet into a Rule or delete one
from a Rule (see UpdateRule), and delete a GeoMatchSet from AWS WAF (see
DeleteGeoMatchSet).
GeoMatchSetId is returned by CreateGeoMatchSet and by ListGeoMatchSets.
public String name()
A friendly name or description of the GeoMatchSet. You can't change the name of an
GeoMatchSet after you create it.
GeoMatchSet after you create it.public List<GeoMatchConstraint> geoMatchConstraints()
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public GeoMatchSet.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GeoMatchSet.Builder,GeoMatchSet>public static GeoMatchSet.Builder builder()
public static Class<? extends GeoMatchSet.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.