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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionList.Builder
items(Collection<FunctionSummary> items)
Contains the functions in the list.FunctionList.Builder
items(Consumer<FunctionSummary.Builder>... items)
Contains the functions in the list.FunctionList.Builder
items(FunctionSummary... items)
Contains the functions in the list.FunctionList.Builder
maxItems(Integer maxItems)
The maximum number of functions requested.FunctionList.Builder
nextMarker(String nextMarker)
If there are more items in the list than are in this response, this element is present.FunctionList.Builder
quantity(Integer quantity)
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 Detail
-
nextMarker
FunctionList.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 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
FunctionList.Builder maxItems(Integer 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
FunctionList.Builder quantity(Integer 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
FunctionList.Builder items(Collection<FunctionSummary> 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
FunctionList.Builder items(FunctionSummary... 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
FunctionList.Builder items(Consumer<FunctionSummary.Builder>... 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 to#items(List
.) - 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:
#items(java.util.Collection
)
-
-