Interface ListRegexPatternSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRegexPatternSetsResponse.Builder,,ListRegexPatternSetsResponse> SdkBuilder<ListRegexPatternSetsResponse.Builder,,ListRegexPatternSetsResponse> SdkPojo,SdkResponse.Builder,WafResponse.Builder
- Enclosing class:
ListRegexPatternSetsResponse
public static interface ListRegexPatternSetsResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<ListRegexPatternSetsResponse.Builder,ListRegexPatternSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) If you have moreRegexPatternSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue.regexPatternSets(Collection<RegexPatternSetSummary> regexPatternSets) An array of RegexPatternSetSummary objects.regexPatternSets(Consumer<RegexPatternSetSummary.Builder>... regexPatternSets) An array of RegexPatternSetSummary objects.regexPatternSets(RegexPatternSetSummary... regexPatternSets) An array of RegexPatternSetSummary 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
-
nextMarker
If you have more
RegexPatternSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRegexPatternSetobjects, submit anotherListRegexPatternSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Parameters:
nextMarker- If you have moreRegexPatternSetobjects than the number that you specified forLimitin the request, the response includes aNextMarkervalue. To list moreRegexPatternSetobjects, submit anotherListRegexPatternSetsrequest, and specify theNextMarkervalue from the response in theNextMarkervalue in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSets
ListRegexPatternSetsResponse.Builder regexPatternSets(Collection<RegexPatternSetSummary> regexPatternSets) An array of RegexPatternSetSummary objects.
- Parameters:
regexPatternSets- An array of RegexPatternSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSets
An array of RegexPatternSetSummary objects.
- Parameters:
regexPatternSets- An array of RegexPatternSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regexPatternSets
ListRegexPatternSetsResponse.Builder regexPatternSets(Consumer<RegexPatternSetSummary.Builder>... regexPatternSets) An array of RegexPatternSetSummary objects.
This is a convenience method that creates an instance of theRegexPatternSetSummary.Builderavoiding the need to create one manually viaRegexPatternSetSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregexPatternSets(List<RegexPatternSetSummary>).- Parameters:
regexPatternSets- 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:
-