public static interface Function.Builder extends CopyableBuilder<Function.Builder,Function>
| Modifier and Type | Method and Description |
|---|---|
Function.Builder |
functionArn(String functionArn)
Arn of the Lambda function.
|
default Function.Builder |
functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration)
Configuration of the function This is a convenience that creates an instance of the
FunctionConfiguration.Builder avoiding the need to create one manually via
FunctionConfiguration.builder(). |
Function.Builder |
functionConfiguration(FunctionConfiguration functionConfiguration)
Configuration of the function
|
Function.Builder |
id(String id)
Id of the function in this version.
|
copyapply, buildFunction.Builder functionArn(String functionArn)
functionArn - Arn of the Lambda function.Function.Builder functionConfiguration(FunctionConfiguration functionConfiguration)
functionConfiguration - Configuration of the functiondefault Function.Builder functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration)
FunctionConfiguration.Builder avoiding the need to create one manually via
FunctionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to functionConfiguration(FunctionConfiguration).functionConfiguration - a consumer that will call methods on FunctionConfiguration.BuilderfunctionConfiguration(FunctionConfiguration)Function.Builder id(String id)
id - Id of the function in this version.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.