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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GeoMatchSetUpdate.Builderaction(String action)Specifies whether to insert or delete a country with UpdateGeoMatchSet.GeoMatchSetUpdate.Builderaction(ChangeAction action)Specifies whether to insert or delete a country with UpdateGeoMatchSet.default GeoMatchSetUpdate.BuildergeoMatchConstraint(Consumer<GeoMatchConstraint.Builder> geoMatchConstraint)The country from which web requests originate that you want AWS WAF to search for.GeoMatchSetUpdate.BuildergeoMatchConstraint(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 Detail
-
action
GeoMatchSetUpdate.Builder action(String 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:
ChangeAction,ChangeAction
-
action
GeoMatchSetUpdate.Builder action(ChangeAction 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:
ChangeAction,ChangeAction
-
geoMatchConstraint
GeoMatchSetUpdate.Builder geoMatchConstraint(GeoMatchConstraint 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.Builderavoiding the need to create one manually viaGeoMatchConstraint.builder().When the
Consumercompletes,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:
geoMatchConstraint(GeoMatchConstraint)
-
-