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