Interface GeoMatchConstraint.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>,SdkBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>,SdkPojo
- Enclosing class:
- GeoMatchConstraint
public static interface GeoMatchConstraint.Builder extends SdkPojo, CopyableBuilder<GeoMatchConstraint.Builder,GeoMatchConstraint>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoMatchConstraint.Buildertype(String type)The type of geographical area you want AWS WAF to search for.GeoMatchConstraint.Buildertype(GeoMatchConstraintType type)The type of geographical area you want AWS WAF to search for.GeoMatchConstraint.Buildervalue(String value)The country that you want AWS WAF to search for.GeoMatchConstraint.Buildervalue(GeoMatchConstraintValue value)The country that you want AWS WAF to search for.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
type
GeoMatchConstraint.Builder type(String type)
The type of geographical area you want AWS WAF to search for. Currently
Countryis the only valid value.- Parameters:
type- The type of geographical area you want AWS WAF to search for. CurrentlyCountryis the only valid value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeoMatchConstraintType,GeoMatchConstraintType
-
type
GeoMatchConstraint.Builder type(GeoMatchConstraintType type)
The type of geographical area you want AWS WAF to search for. Currently
Countryis the only valid value.- Parameters:
type- The type of geographical area you want AWS WAF to search for. CurrentlyCountryis the only valid value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeoMatchConstraintType,GeoMatchConstraintType
-
value
GeoMatchConstraint.Builder value(String value)
The country that you want AWS WAF to search for.
- Parameters:
value- The country that you want AWS WAF to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeoMatchConstraintValue,GeoMatchConstraintValue
-
value
GeoMatchConstraint.Builder value(GeoMatchConstraintValue value)
The country that you want AWS WAF to search for.
- Parameters:
value- The country that you want AWS WAF to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
GeoMatchConstraintValue,GeoMatchConstraintValue
-
-