Interface GeoMatchSetUpdate.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GeoMatchSetUpdate.Builder,
,GeoMatchSetUpdate> SdkBuilder<GeoMatchSetUpdate.Builder,
,GeoMatchSetUpdate> SdkPojo
- Enclosing class:
GeoMatchSetUpdate
public static interface GeoMatchSetUpdate.Builder
extends SdkPojo, CopyableBuilder<GeoMatchSetUpdate.Builder,GeoMatchSetUpdate>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether to insert or delete a country with UpdateGeoMatchSet.action
(ChangeAction action) Specifies whether to insert or delete a country with UpdateGeoMatchSet.default GeoMatchSetUpdate.Builder
geoMatchConstraint
(Consumer<GeoMatchConstraint.Builder> geoMatchConstraint) The country from which web requests originate that you want AWS WAF to search for.geoMatchConstraint
(GeoMatchConstraint geoMatchConstraint) The country from which web requests originate 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 Details
-
action
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
- Parameters:
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
action
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
- Parameters:
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
geoMatchConstraint
The country from which web requests originate that you want AWS WAF to search for.
- Parameters:
geoMatchConstraint
- The country from which web requests originate that you want AWS WAF to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geoMatchConstraint
default GeoMatchSetUpdate.Builder geoMatchConstraint(Consumer<GeoMatchConstraint.Builder> geoMatchConstraint) The country from which web requests originate 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 togeoMatchConstraint(GeoMatchConstraint)
.- Parameters:
geoMatchConstraint
- 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:
-