public static interface FunctionDefinitionVersion.Builder extends SdkPojo, CopyableBuilder<FunctionDefinitionVersion.Builder,FunctionDefinitionVersion>
Modifier and Type | Method and Description |
---|---|
default FunctionDefinitionVersion.Builder |
defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)
Default configuration that will apply to all Lambda functions in this function definition version This is a
convenience that creates an instance of the
FunctionDefaultConfig.Builder avoiding the need to create
one manually via FunctionDefaultConfig.builder() . |
FunctionDefinitionVersion.Builder |
defaultConfig(FunctionDefaultConfig defaultConfig)
Default configuration that will apply to all Lambda functions in this function definition version
|
FunctionDefinitionVersion.Builder |
functions(Collection<Function> functions)
A list of Lambda functions in this function definition version.
|
FunctionDefinitionVersion.Builder |
functions(Consumer<Function.Builder>... functions)
A list of Lambda functions in this function definition version.
|
FunctionDefinitionVersion.Builder |
functions(Function... functions)
A list of Lambda functions in this function definition version.
|
copy
applyMutation, build
FunctionDefinitionVersion.Builder defaultConfig(FunctionDefaultConfig defaultConfig)
defaultConfig
- Default configuration that will apply to all Lambda functions in this function definition versiondefault FunctionDefinitionVersion.Builder defaultConfig(Consumer<FunctionDefaultConfig.Builder> defaultConfig)
FunctionDefaultConfig.Builder
avoiding the need to create
one manually via FunctionDefaultConfig.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to defaultConfig(FunctionDefaultConfig)
.defaultConfig
- a consumer that will call methods on FunctionDefaultConfig.Builder
defaultConfig(FunctionDefaultConfig)
FunctionDefinitionVersion.Builder functions(Collection<Function> functions)
functions
- A list of Lambda functions in this function definition version.FunctionDefinitionVersion.Builder functions(Function... functions)
functions
- A list of Lambda functions in this function definition version.FunctionDefinitionVersion.Builder functions(Consumer<Function.Builder>... functions)
List.Builder
avoiding the need to create one manually via #builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #functions(List)
.functions
- a consumer that will call methods on List.Builder
#functions(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.