Interface KeyGroupList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyGroupList.Builder,
,KeyGroupList> SdkBuilder<KeyGroupList.Builder,
,KeyGroupList> SdkPojo
- Enclosing class:
KeyGroupList
public static interface KeyGroupList.Builder
extends SdkPojo, CopyableBuilder<KeyGroupList.Builder,KeyGroupList>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<KeyGroupSummary> items) A list of key groups.items
(Consumer<KeyGroupSummary.Builder>... items) A list of key groups.items
(KeyGroupSummary... items) A list of key groups.The maximum number of key groups requested.nextMarker
(String nextMarker) If there are more items in the list than are in this response, this element is present.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, sdkFields
-
Method Details
-
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
Marker
field 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 theMarker
field 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
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
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
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
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
A list of key groups.
This is a convenience method that creates an instance of theKeyGroupSummary.Builder
avoiding the need to create one manually viaKeyGroupSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<KeyGroupSummary>)
.- 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:
-