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 theGetRegexPatternSetrequest, 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 theGetRegexPatternSetrequest, 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
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
Information about the RegexPatternSet that you specified in the
GetRegexPatternSetrequest, 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 theGetRegexPatternSetrequest, 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 theGetRegexPatternSetrequest, including the identifier of the pattern set and the regular expression patterns you want AWS WAF to search for.RegexPatternSet.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:
-