Interface FunctionSchema.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionSchema.Builder,
,FunctionSchema> SdkBuilder<FunctionSchema.Builder,
,FunctionSchema> SdkPojo
- Enclosing class:
FunctionSchema
public static interface FunctionSchema.Builder
extends SdkPojo, CopyableBuilder<FunctionSchema.Builder,FunctionSchema>
-
Method Summary
Modifier and TypeMethodDescriptionfunctions
(Collection<Function> functions) A list of functions that each define an action in the action group.functions
(Consumer<Function.Builder>... functions) A list of functions that each define an action in the action group.A list of functions that each define an action in the action group.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
-
functions
A list of functions that each define an action in the action group.
- Parameters:
functions
- A list of functions that each define an action in the action group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of functions that each define an action in the action group.
- Parameters:
functions
- A list of functions that each define an action in the action group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
A list of functions that each define an action in the action group.
This is a convenience method that creates an instance of theFunction.Builder
avoiding the need to create one manually viaFunction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofunctions(List<Function>)
.- Parameters:
functions
- a consumer that will call methods onFunction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-