Interface FunctionDefinitionVersion.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FunctionDefinitionVersion.Builder,,FunctionDefinitionVersion> SdkBuilder<FunctionDefinitionVersion.Builder,,FunctionDefinitionVersion> SdkPojo
- Enclosing class:
FunctionDefinitionVersion
@Mutable
@NotThreadSafe
public static interface FunctionDefinitionVersion.Builder
extends SdkPojo, CopyableBuilder<FunctionDefinitionVersion.Builder,FunctionDefinitionVersion>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.defaultConfig(FunctionDefaultConfig defaultConfig) The default configuration that applies to all Lambda functions in this function definition version.functions(Collection<Function> functions) A list of Lambda functions in this function definition version.functions(Consumer<Function.Builder>... functions) A list of Lambda functions in this function definition version.A list of Lambda functions in this function definition version.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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:
-
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
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
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 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:
-