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) TheGeoMatchSetIdof 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 ofGeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet.updates(Consumer<GeoMatchSetUpdate.Builder>... updates) An array ofGeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet.updates(GeoMatchSetUpdate... updates) An array ofGeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.services.waf.model.WafRequest.Builder
build
-
Method Details
-
geoMatchSetId
The
GeoMatchSetIdof the GeoMatchSet that you want to update.GeoMatchSetIdis returned by CreateGeoMatchSet and by ListGeoMatchSets.- Parameters:
geoMatchSetId- TheGeoMatchSetIdof the GeoMatchSet that you want to update.GeoMatchSetIdis 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
GeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
ActionandGeoMatchConstraint -
GeoMatchConstraint: Contains
TypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
- Parameters:
updates- An array ofGeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
ActionandGeoMatchConstraint -
GeoMatchConstraint: Contains
TypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
An array of
GeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
ActionandGeoMatchConstraint -
GeoMatchConstraint: Contains
TypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
- Parameters:
updates- An array ofGeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
ActionandGeoMatchConstraint -
GeoMatchConstraint: Contains
TypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
updates
An array of
GeoMatchSetUpdateobjects that you want to insert into or delete from an GeoMatchSet. For more information, see the applicable data types:-
GeoMatchSetUpdate: Contains
ActionandGeoMatchConstraint -
GeoMatchConstraint: Contains
TypeandValueYou can have only one
TypeandValueperGeoMatchConstraint. To add multiple countries, include multipleGeoMatchSetUpdateobjects in your request.
GeoMatchSetUpdate.Builderavoiding the need to create one manually viaGeoMatchSetUpdate.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-