Interface FunctionList.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionList.Builder,
,FunctionList> SdkBuilder<FunctionList.Builder,
,FunctionList> SdkPojo
- Enclosing class:
FunctionList
public static interface FunctionList.Builder
extends SdkPojo, CopyableBuilder<FunctionList.Builder,FunctionList>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<FunctionSummary> items) Contains the functions in the list.items
(Consumer<FunctionSummary.Builder>... items) Contains the functions in the list.items
(FunctionSummary... items) Contains the functions in the list.The maximum number of functions requested.nextMarker
(String nextMarker) If there are more items in the list than are in this response, this element is present.The number of functions 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 functions where you left off.- 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 functions where you left off.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxItems
The maximum number of functions requested.
- Parameters:
maxItems
- The maximum number of functions requested.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
quantity
The number of functions returned in the response.
- Parameters:
quantity
- The number of functions returned in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains the functions in the list.
- Parameters:
items
- Contains the functions in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains the functions in the list.
- Parameters:
items
- Contains the functions in the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Contains the functions in the list.
This is a convenience method that creates an instance of theFunctionSummary.Builder
avoiding the need to create one manually viaFunctionSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<FunctionSummary>)
.- Parameters:
items
- a consumer that will call methods onFunctionSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-