Interface ListSizeConstraintSetsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListSizeConstraintSetsResponse.Builder,
,ListSizeConstraintSetsResponse> SdkBuilder<ListSizeConstraintSetsResponse.Builder,
,ListSizeConstraintSetsResponse> SdkPojo
,SdkResponse.Builder
,WafResponse.Builder
- Enclosing class:
ListSizeConstraintSetsResponse
public static interface ListSizeConstraintSetsResponse.Builder
extends WafResponse.Builder, SdkPojo, CopyableBuilder<ListSizeConstraintSetsResponse.Builder,ListSizeConstraintSetsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker
(String nextMarker) If you have moreSizeConstraintSet
objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value.sizeConstraintSets
(Collection<SizeConstraintSetSummary> sizeConstraintSets) An array of SizeConstraintSetSummary objects.sizeConstraintSets
(Consumer<SizeConstraintSetSummary.Builder>... sizeConstraintSets) An array of SizeConstraintSetSummary objects.sizeConstraintSets
(SizeConstraintSetSummary... sizeConstraintSets) An array of SizeConstraintSetSummary objects.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
-
nextMarker
If you have more
SizeConstraintSet
objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreSizeConstraintSet
objects, submit anotherListSizeConstraintSets
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Parameters:
nextMarker
- If you have moreSizeConstraintSet
objects than the number that you specified forLimit
in the request, the response includes aNextMarker
value. To list moreSizeConstraintSet
objects, submit anotherListSizeConstraintSets
request, and specify theNextMarker
value from the response in theNextMarker
value in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraintSets
ListSizeConstraintSetsResponse.Builder sizeConstraintSets(Collection<SizeConstraintSetSummary> sizeConstraintSets) An array of SizeConstraintSetSummary objects.
- Parameters:
sizeConstraintSets
- An array of SizeConstraintSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraintSets
ListSizeConstraintSetsResponse.Builder sizeConstraintSets(SizeConstraintSetSummary... sizeConstraintSets) An array of SizeConstraintSetSummary objects.
- Parameters:
sizeConstraintSets
- An array of SizeConstraintSetSummary objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeConstraintSets
ListSizeConstraintSetsResponse.Builder sizeConstraintSets(Consumer<SizeConstraintSetSummary.Builder>... sizeConstraintSets) An array of SizeConstraintSetSummary objects.
This is a convenience method that creates an instance of theSizeConstraintSetSummary.Builder
avoiding the need to create one manually viaSizeConstraintSetSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosizeConstraintSets(List<SizeConstraintSetSummary>)
.- Parameters:
sizeConstraintSets
- a consumer that will call methods onSizeConstraintSetSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-