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