Interface GeoMatchSet.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GeoMatchSet.Builder,GeoMatchSet>,SdkBuilder<GeoMatchSet.Builder,GeoMatchSet>,SdkPojo
- Enclosing class:
- GeoMatchSet
public static interface GeoMatchSet.Builder extends SdkPojo, CopyableBuilder<GeoMatchSet.Builder,GeoMatchSet>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeoMatchSet.BuildergeoMatchConstraints(Collection<GeoMatchConstraint> geoMatchConstraints)An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.GeoMatchSet.BuildergeoMatchConstraints(Consumer<GeoMatchConstraint.Builder>... geoMatchConstraints)An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.GeoMatchSet.BuildergeoMatchConstraints(GeoMatchConstraint... geoMatchConstraints)An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.GeoMatchSet.BuildergeoMatchSetId(String geoMatchSetId)TheGeoMatchSetIdfor anGeoMatchSet.GeoMatchSet.Buildername(String name)A friendly name or description of the GeoMatchSet.-
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
-
geoMatchSetId
GeoMatchSet.Builder geoMatchSetId(String geoMatchSetId)
The
GeoMatchSetIdfor anGeoMatchSet. You useGeoMatchSetIdto get information about aGeoMatchSet(see GeoMatchSet), update aGeoMatchSet(see UpdateGeoMatchSet), insert aGeoMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aGeoMatchSetfrom AWS WAF (see DeleteGeoMatchSet).GeoMatchSetIdis returned by CreateGeoMatchSet and by ListGeoMatchSets.- Parameters:
geoMatchSetId- TheGeoMatchSetIdfor anGeoMatchSet. You useGeoMatchSetIdto get information about aGeoMatchSet(see GeoMatchSet), update aGeoMatchSet(see UpdateGeoMatchSet), insert aGeoMatchSetinto aRuleor delete one from aRule(see UpdateRule), and delete aGeoMatchSetfrom AWS WAF (see DeleteGeoMatchSet).GeoMatchSetIdis returned by CreateGeoMatchSet and by ListGeoMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
GeoMatchSet.Builder name(String name)
A friendly name or description of the GeoMatchSet. You can't change the name of an
GeoMatchSetafter you create it.- Parameters:
name- A friendly name or description of the GeoMatchSet. You can't change the name of anGeoMatchSetafter you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoMatchConstraints
GeoMatchSet.Builder geoMatchConstraints(Collection<GeoMatchConstraint> geoMatchConstraints)
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
- Parameters:
geoMatchConstraints- An array of GeoMatchConstraint objects, which contain 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.
-
geoMatchConstraints
GeoMatchSet.Builder geoMatchConstraints(GeoMatchConstraint... geoMatchConstraints)
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
- Parameters:
geoMatchConstraints- An array of GeoMatchConstraint objects, which contain 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.
-
geoMatchConstraints
GeoMatchSet.Builder geoMatchConstraints(Consumer<GeoMatchConstraint.Builder>... geoMatchConstraints)
An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.
This is a convenience method that creates an instance of theGeoMatchConstraint.Builderavoiding the need to create one manually viaGeoMatchConstraint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#geoMatchConstraints(List.) - Parameters:
geoMatchConstraints- a consumer that will call methods onGeoMatchConstraint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#geoMatchConstraints(java.util.Collection)
-
-