Interface GetRegexPatternSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRegexPatternSetResponse.Builder,
,GetRegexPatternSetResponse> SdkBuilder<GetRegexPatternSetResponse.Builder,
,GetRegexPatternSetResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
GetRegexPatternSetResponse
public static interface GetRegexPatternSetResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<GetRegexPatternSetResponse.Builder,GetRegexPatternSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionregexPatternSet
(Consumer<RegexPatternSet.Builder> regexPatternSet) Information about the RegexPatternSet that you specified in theGetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.regexPatternSet
(RegexPatternSet regexPatternSet) Information about the RegexPatternSet that you specified in theGetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.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
Information about the RegexPatternSet that you specified in the
GetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.- Parameters:
regexPatternSet
- Information about the RegexPatternSet that you specified in theGetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSet
default GetRegexPatternSetResponse.Builder regexPatternSet(Consumer<RegexPatternSet.Builder> regexPatternSet) Information about the RegexPatternSet that you specified in the
This is a convenience method that creates an instance of theGetRegexPatternSet
request, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.RegexPatternSet.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:
-