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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyGroupList.Builder
items(Collection<KeyGroupSummary> items)
A list of key groups.KeyGroupList.Builder
items(Consumer<KeyGroupSummary.Builder>... items)
A list of key groups.KeyGroupList.Builder
items(KeyGroupSummary... items)
A list of key groups.KeyGroupList.Builder
maxItems(Integer maxItems)
The maximum number of key groups requested.KeyGroupList.Builder
nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.KeyGroupList.Builder
quantity(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, 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
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
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.Builder
avoiding the need to create one manually viaKeyGroupSummary.builder()
.When the
Consumer
completes,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
)
-
-