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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.Builderavoiding the need to create one manually viaFunction.builder().When the
Consumercompletes,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:
-