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) TheGeoMatchSetIdfor anGeoMatchSet.A friendly name or description of the GeoMatchSet.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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.Builderavoiding the need to create one manually viaGeoMatchConstraint.builder().When the
Consumercompletes,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:
-