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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FunctionSchema.Builderfunctions(Collection<Function> functions)A list of functions that each define an action in the action group.FunctionSchema.Builderfunctions(Consumer<Function.Builder>... functions)A list of functions that each define an action in the action group.FunctionSchema.Builderfunctions(Function... functions)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 Detail
-
functions
FunctionSchema.Builder functions(Collection<Function> 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
FunctionSchema.Builder functions(Function... 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
FunctionSchema.Builder functions(Consumer<Function.Builder>... 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.Builderavoiding the need to create one manually viaFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#functions(List.) - 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:
#functions(java.util.Collection)
-
-