@Generated(value="software.amazon.awssdk:codegen") public final class GeoMatchConstraint extends Object implements SdkPojo, Serializable, 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() |
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 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()
toBuilder in interface ToCopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>public static GeoMatchConstraint.Builder builder()
public static Class<? extends GeoMatchConstraint.Builder> serializableBuilderClass()
public String toString()
Copyright © 2019. All rights reserved.