@Generated(value="software.amazon.awssdk:codegen") public class GeoMatchConstraint extends Object implements StructuredPojo, ToCopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>
The country from which web requests originate that you want AWS WAF to search for.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GeoMatchConstraint.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GeoMatchConstraint.Builder |
builder() |
boolean |
equals(Object obj) |
<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 GeoMatchConstraint.Builder> |
serializableBuilderClass() |
GeoMatchConstraint.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
GeoMatchConstraintType |
type()
The type of geographical area you want AWS WAF to search for.
|
String |
typeAsString()
The type of geographical area you want AWS WAF to search for.
|
GeoMatchConstraintValue |
value()
The country that you want AWS WAF to search for.
|
String |
valueAsString()
The country that you want AWS WAF to search for.
|
copypublic GeoMatchConstraintType type()
The type of geographical area you want AWS WAF to search for. Currently Country is the only valid
value.
If the service returns an enum value that is not available in the current SDK version, type will return
GeoMatchConstraintType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Country is the only
valid value.GeoMatchConstraintTypepublic String typeAsString()
The type of geographical area you want AWS WAF to search for. Currently Country is the only valid
value.
If the service returns an enum value that is not available in the current SDK version, type will return
GeoMatchConstraintType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
typeAsString().
Country is the only
valid value.GeoMatchConstraintTypepublic GeoMatchConstraintValue value()
The country that you want AWS WAF to search for.
If the service returns an enum value that is not available in the current SDK version, value will return
GeoMatchConstraintValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
valueAsString().
GeoMatchConstraintValuepublic String valueAsString()
The country that you want AWS WAF to search for.
If the service returns an enum value that is not available in the current SDK version, value will return
GeoMatchConstraintValue.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
valueAsString().
GeoMatchConstraintValuepublic GeoMatchConstraint.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>public static GeoMatchConstraint.Builder builder()
public static Class<? extends GeoMatchConstraint.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.