Interface CreateRegexPatternSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateRegexPatternSetResponse.Builder,
,CreateRegexPatternSetResponse> SdkBuilder<CreateRegexPatternSetResponse.Builder,
,CreateRegexPatternSetResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
CreateRegexPatternSetResponse
public static interface CreateRegexPatternSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<CreateRegexPatternSetResponse.Builder,CreateRegexPatternSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchangeToken
(String changeToken) TheChangeToken
that you used to submit theCreateRegexPatternSet
request.regexPatternSet
(Consumer<RegexPatternSet.Builder> regexPatternSet) A RegexPatternSet that contains no objects.regexPatternSet
(RegexPatternSet regexPatternSet) A RegexPatternSet that contains no objects.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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.waf.model.WafResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
regexPatternSet
A RegexPatternSet that contains no objects.
- Parameters:
regexPatternSet
- A RegexPatternSet that contains no objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSet
default CreateRegexPatternSetResponse.Builder regexPatternSet(Consumer<RegexPatternSet.Builder> regexPatternSet) A RegexPatternSet that contains no objects.
This is a convenience method that creates an instance of theRegexPatternSet.Builder
avoiding the need to create one manually viaRegexPatternSet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toregexPatternSet(RegexPatternSet)
.- Parameters:
regexPatternSet
- a consumer that will call methods onRegexPatternSet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
changeToken
The
ChangeToken
that you used to submit theCreateRegexPatternSet
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken
- TheChangeToken
that you used to submit theCreateRegexPatternSet
request. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-