Interface KeyGroupList.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KeyGroupList.Builder,KeyGroupList>,SdkBuilder<KeyGroupList.Builder,KeyGroupList>,SdkPojo
- Enclosing class:
- KeyGroupList
@Mutable @NotThreadSafe public static interface KeyGroupList.Builder extends SdkPojo, CopyableBuilder<KeyGroupList.Builder,KeyGroupList>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyGroupList.Builderitems(Collection<KeyGroupSummary> items)A list of key groups.KeyGroupList.Builderitems(Consumer<KeyGroupSummary.Builder>... items)A list of key groups.KeyGroupList.Builderitems(KeyGroupSummary... items)A list of key groups.KeyGroupList.BuildermaxItems(Integer maxItems)The maximum number of key groups requested.KeyGroupList.BuildernextMarker(String nextMarker)If there are more items in the list than are in this response, this element is present.KeyGroupList.Builderquantity(Integer quantity)The number of key groups returned in the response.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
nextMarker
KeyGroupList.Builder nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the
Markerfield of a subsequent request to continue listing key groups.- Parameters:
nextMarker- If there are more items in the list than are in this response, this element is present. It contains the value that you should use in theMarkerfield of a subsequent request to continue listing key groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
KeyGroupList.Builder maxItems(Integer maxItems)
The maximum number of key groups requested.
- Parameters:
maxItems- The maximum number of key groups requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
KeyGroupList.Builder quantity(Integer quantity)
The number of key groups returned in the response.
- Parameters:
quantity- The number of key groups returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
KeyGroupList.Builder items(Collection<KeyGroupSummary> items)
A list of key groups.
- Parameters:
items- A list of key groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
KeyGroupList.Builder items(KeyGroupSummary... items)
A list of key groups.
- Parameters:
items- A list of key groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
KeyGroupList.Builder items(Consumer<KeyGroupSummary.Builder>... items)
A list of key groups.
This is a convenience method that creates an instance of theKeyGroupSummary.Builderavoiding the need to create one manually viaKeyGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#items(List.) - Parameters:
items- a consumer that will call methods onKeyGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#items(java.util.Collection)
-
-