Interface CreateRegexPatternSetResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateRegexPatternSetResponse.Builder,,CreateRegexPatternSetResponse> SdkBuilder<CreateRegexPatternSetResponse.Builder,,CreateRegexPatternSetResponse> SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
CreateRegexPatternSetResponse
public static interface CreateRegexPatternSetResponse.Builder
extends Wafv2Response.Builder, SdkPojo, CopyableBuilder<CreateRegexPatternSetResponse.Builder,CreateRegexPatternSetResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsummary(Consumer<RegexPatternSetSummary.Builder> summary) High-level information about a RegexPatternSet, returned by operations like create and list.summary(RegexPatternSetSummary summary) High-level information about a RegexPatternSet, returned by operations like create and list.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.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
summary
High-level information about a RegexPatternSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a
RegexPatternSet, and the ARN, that you provide to the RegexPatternSetReferenceStatement to use the pattern set in a Rule.- Parameters:
summary- High-level information about a RegexPatternSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage aRegexPatternSet, and the ARN, that you provide to the RegexPatternSetReferenceStatement to use the pattern set in a Rule.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
summary
default CreateRegexPatternSetResponse.Builder summary(Consumer<RegexPatternSetSummary.Builder> summary) High-level information about a RegexPatternSet, returned by operations like create and list. This provides information like the ID, that you can use to retrieve and manage a
This is a convenience method that creates an instance of theRegexPatternSet, and the ARN, that you provide to the RegexPatternSetReferenceStatement to use the pattern set in a Rule.RegexPatternSetSummary.Builderavoiding the need to create one manually viaRegexPatternSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosummary(RegexPatternSetSummary).- Parameters:
summary- a consumer that will call methods onRegexPatternSetSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-