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) TheChangeTokenthat you used to submit theCreateRegexPatternSetrequest.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
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.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods 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.Builderavoiding the need to create one manually viaRegexPatternSet.builder().When the
Consumercompletes,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
ChangeTokenthat you used to submit theCreateRegexPatternSetrequest. You can also use this value to query the status of the request. For more information, see GetChangeTokenStatus.- Parameters:
changeToken- TheChangeTokenthat you used to submit theCreateRegexPatternSetrequest. 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.
-