@Generated(value="software.amazon.awssdk:codegen") public final class GeoMatchConstraint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GeoMatchConstraint.Builder> |
serializableBuilderClass() |
GeoMatchConstraint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 final 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 final 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 final 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()
toBuilder in interface ToCopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>public static GeoMatchConstraint.Builder builder()
public static Class<? extends GeoMatchConstraint.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.