Interface UpdateRegexMatchSetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateRegexMatchSetRequest.Builder,,UpdateRegexMatchSetRequest> SdkBuilder<UpdateRegexMatchSetRequest.Builder,,UpdateRegexMatchSetRequest> SdkPojo,SdkRequest.Builder,WafRequest.Builder
- Enclosing class:
UpdateRegexMatchSetRequest
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken(String changeToken) The value returned by the most recent call to GetChangeToken.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.regexMatchSetId(String regexMatchSetId) TheRegexMatchSetIdof the RegexMatchSet that you want to update.updates(Collection<RegexMatchSetUpdate> updates) An array ofRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet.updates(Consumer<RegexMatchSetUpdate.Builder>... updates) An array ofRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet.updates(RegexMatchSetUpdate... updates) An array ofRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet.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
-
regexMatchSetId
The
RegexMatchSetIdof the RegexMatchSet that you want to update.RegexMatchSetIdis returned by CreateRegexMatchSet and by ListRegexMatchSets.- Parameters:
regexMatchSetId- TheRegexMatchSetIdof the RegexMatchSet that you want to update.RegexMatchSetIdis returned by CreateRegexMatchSet and by ListRegexMatchSets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
RegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.- Parameters:
updates- An array ofRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
RegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.- Parameters:
updates- An array ofRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updates
An array of
This is a convenience method that creates an instance of theRegexMatchSetUpdateobjects that you want to insert into or delete from a RegexMatchSet. For more information, see RegexMatchTuple.RegexMatchSetUpdate.Builderavoiding the need to create one manually viaRegexMatchSetUpdate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdates(List<RegexMatchSetUpdate>).- Parameters:
updates- a consumer that will call methods onRegexMatchSetUpdate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
-
overrideConfiguration
UpdateRegexMatchSetRequest.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
UpdateRegexMatchSetRequest.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.
-