Interface FunctionDefinitionVersion.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<FunctionDefinitionVersion.Builder,FunctionDefinitionVersion>,SdkBuilder<FunctionDefinitionVersion.Builder,FunctionDefinitionVersion>,SdkPojo
- Enclosing class:
- FunctionDefinitionVersion
public static interface FunctionDefinitionVersion.Builder extends SdkPojo, CopyableBuilder<FunctionDefinitionVersion.Builder,FunctionDefinitionVersion>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FunctionDefinitionVersion.BuilderdefaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)The default configuration that applies to all Lambda functions in this function definition version.FunctionDefinitionVersion.BuilderdefaultConfig(FunctionDefaultConfig defaultConfig)The default configuration that applies to all Lambda functions in this function definition version.FunctionDefinitionVersion.Builderfunctions(Collection<Function> functions)A list of Lambda functions in this function definition version.FunctionDefinitionVersion.Builderfunctions(Consumer<Function.Builder>... functions)A list of Lambda functions in this function definition version.FunctionDefinitionVersion.Builderfunctions(Function... functions)A list of Lambda functions in this function definition version.-
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
-
defaultConfig
FunctionDefinitionVersion.Builder defaultConfig(FunctionDefaultConfig defaultConfig)
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Parameters:
defaultConfig- The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultConfig
default FunctionDefinitionVersion.Builder defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)
The default configuration that applies to all Lambda functions in this function definition version. Individual Lambda functions can override these settings. This is a convenience method that creates an instance of theFunctionDefaultConfig.Builderavoiding the need to create one manually viaFunctionDefaultConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefaultConfig(FunctionDefaultConfig).- Parameters:
defaultConfig- a consumer that will call methods onFunctionDefaultConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
defaultConfig(FunctionDefaultConfig)
-
functions
FunctionDefinitionVersion.Builder functions(Collection<Function> functions)
A list of Lambda functions in this function definition version.- Parameters:
functions- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
FunctionDefinitionVersion.Builder functions(Function... functions)
A list of Lambda functions in this function definition version.- Parameters:
functions- A list of Lambda functions in this function definition version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
functions
FunctionDefinitionVersion.Builder functions(Consumer<Function.Builder>... functions)
A list of Lambda functions in this function definition version. 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)
-
-