Interface FunctionDefaultConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FunctionDefaultConfig.Builder,
,FunctionDefaultConfig> SdkBuilder<FunctionDefaultConfig.Builder,
,FunctionDefaultConfig> SdkPojo
- Enclosing class:
FunctionDefaultConfig
public static interface FunctionDefaultConfig.Builder
extends SdkPojo, CopyableBuilder<FunctionDefaultConfig.Builder,FunctionDefaultConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FunctionDefaultConfig.Builder
execution
(Consumer<FunctionDefaultExecutionConfig.Builder> execution) Sets the value of the Execution property for this object.execution
(FunctionDefaultExecutionConfig execution) Sets the value of the Execution property for this object.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
-
execution
Sets the value of the Execution property for this object.- Parameters:
execution
- The new value for the Execution property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
execution
default FunctionDefaultConfig.Builder execution(Consumer<FunctionDefaultExecutionConfig.Builder> execution) Sets the value of the Execution property for this object. This is a convenience method that creates an instance of theFunctionDefaultExecutionConfig.Builder
avoiding the need to create one manually viaFunctionDefaultExecutionConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecution(FunctionDefaultExecutionConfig)
.- Parameters:
execution
- a consumer that will call methods onFunctionDefaultExecutionConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-