Interface UpdateGeoMatchSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateGeoMatchSetRequest.Builder,
,UpdateGeoMatchSetRequest> SdkBuilder<UpdateGeoMatchSetRequest.Builder,
,UpdateGeoMatchSetRequest> SdkPojo
,SdkRequest.Builder
,WafRequest.Builder
- Enclosing class:
UpdateGeoMatchSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken
(String changeToken) The value returned by the most recent call to GetChangeToken.geoMatchSetId
(String geoMatchSetId) TheGeoMatchSetId
of the GeoMatchSet that you want to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.updates
(Collection<GeoMatchSetUpdate> updates) An array ofGeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet.updates
(Consumer<GeoMatchSetUpdate.Builder>... updates) An array ofGeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet.updates
(GeoMatchSetUpdate... updates) An array ofGeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
Method Details
-
geoMatchSetId
The
GeoMatchSetId
of the GeoMatchSet that you want to update.GeoMatchSetId
is returned by CreateGeoMatchSet and by ListGeoMatchSets.- Parameters:
geoMatchSetId
- TheGeoMatchSetId
of the GeoMatchSet that you want to update.GeoMatchSetId
is returned by CreateGeoMatchSet and by ListGeoMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeToken
The value returned by the most recent call to GetChangeToken.
- Parameters:
changeToken
- The value returned by the most recent call to GetChangeToken.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
GeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
Action
andGeoMatchConstraint
-
GeoMatchConstraint: Contains
Type
andValue
You can have only one
Type
andValue
perGeoMatchConstraint
. To add multiple countries, include multipleGeoMatchSetUpdate
objects in your request.
- Parameters:
updates
- An array ofGeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
Action
andGeoMatchConstraint
-
GeoMatchConstraint: Contains
Type
andValue
You can have only one
Type
andValue
perGeoMatchConstraint
. To add multiple countries, include multipleGeoMatchSetUpdate
objects in your request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
An array of
GeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
Action
andGeoMatchConstraint
-
GeoMatchConstraint: Contains
Type
andValue
You can have only one
Type
andValue
perGeoMatchConstraint
. To add multiple countries, include multipleGeoMatchSetUpdate
objects in your request.
- Parameters:
updates
- An array ofGeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
Action
andGeoMatchConstraint
-
GeoMatchConstraint: Contains
Type
andValue
You can have only one
Type
andValue
perGeoMatchConstraint
. To add multiple countries, include multipleGeoMatchSetUpdate
objects in your request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
An array of
GeoMatchSetUpdate
objects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
Action
andGeoMatchConstraint
-
GeoMatchConstraint: Contains
Type
andValue
You can have only one
Type
andValue
perGeoMatchConstraint
. To add multiple countries, include multipleGeoMatchSetUpdate
objects in your request.
GeoMatchSetUpdate.Builder
avoiding the need to create one manually viaGeoMatchSetUpdate.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toupdates(List<GeoMatchSetUpdate>)
.- Parameters:
updates
- a consumer that will call methods onGeoMatchSetUpdate.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
overrideConfiguration
UpdateGeoMatchSetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateGeoMatchSetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-