Interface GeoMatchSet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GeoMatchSet.Builder,
,GeoMatchSet> SdkBuilder<GeoMatchSet.Builder,
,GeoMatchSet> SdkPojo
- Enclosing class:
GeoMatchSet
-
Method Summary
Modifier and TypeMethodDescriptiongeoMatchConstraints
(Collection<GeoMatchConstraint> geoMatchConstraints) An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.geoMatchConstraints
(Consumer<GeoMatchConstraint.Builder>... geoMatchConstraints) An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.geoMatchConstraints
(GeoMatchConstraint... geoMatchConstraints) An array of GeoMatchConstraint objects, which contain the country that you want AWS WAF to search for.geoMatchSetId
(String geoMatchSetId) TheGeoMatchSetId
for anGeoMatchSet
.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 Details
-
geoMatchSetId
The
GeoMatchSetId
for anGeoMatchSet
. You useGeoMatchSetId
to get information about aGeoMatchSet
(see GeoMatchSet), update aGeoMatchSet
(see UpdateGeoMatchSet), insert aGeoMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aGeoMatchSet
from AWS WAF (see DeleteGeoMatchSet).GeoMatchSetId
is returned by CreateGeoMatchSet and by ListGeoMatchSets.- Parameters:
geoMatchSetId
- TheGeoMatchSetId
for anGeoMatchSet
. You useGeoMatchSetId
to get information about aGeoMatchSet
(see GeoMatchSet), update aGeoMatchSet
(see UpdateGeoMatchSet), insert aGeoMatchSet
into aRule
or delete one from aRule
(see UpdateRule), and delete aGeoMatchSet
from AWS WAF (see DeleteGeoMatchSet).GeoMatchSetId
is returned by CreateGeoMatchSet and by ListGeoMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A friendly name or description of the GeoMatchSet. You can't change the name of an
GeoMatchSet
after you create it.- Parameters:
name
- A friendly name or description of the GeoMatchSet. You can't change the name of anGeoMatchSet
after you create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
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.Builder
avoiding the need to create one manually viaGeoMatchConstraint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed togeoMatchConstraints(List<GeoMatchConstraint>)
.- 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:
-