public static interface GeoMatchSetUpdate.Builder extends CopyableBuilder<GeoMatchSetUpdate.Builder,GeoMatchSetUpdate>
Modifier and Type | Method and Description |
---|---|
GeoMatchSetUpdate.Builder |
action(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
|
GeoMatchSetUpdate.Builder |
action(String 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.
|
GeoMatchSetUpdate.Builder |
geoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
|
copy
apply, build
GeoMatchSetUpdate.Builder action(String action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeAction
,
ChangeAction
GeoMatchSetUpdate.Builder action(ChangeAction action)
Specifies whether to insert or delete a country with UpdateGeoMatchSet.
action
- Specifies whether to insert or delete a country with UpdateGeoMatchSet.ChangeAction
,
ChangeAction
GeoMatchSetUpdate.Builder geoMatchConstraint(GeoMatchConstraint geoMatchConstraint)
The country from which web requests originate that you want AWS WAF to search for.
geoMatchConstraint
- The country from which web requests originate that you want AWS WAF to search for.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 that creates an instance of theGeoMatchConstraint.Builder
avoiding the need to
create one manually via GeoMatchConstraint.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to geoMatchConstraint(GeoMatchConstraint)
.geoMatchConstraint
- a consumer that will call methods on GeoMatchConstraint.Builder
geoMatchConstraint(GeoMatchConstraint)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.