public static interface Function.Builder extends SdkPojo, CopyableBuilder<Function.Builder,Function>
Modifier and Type | Method and Description |
---|---|
Function.Builder |
functionArn(String functionArn)
The ARN of the Lambda function.
|
default Function.Builder |
functionConfiguration(Consumer<FunctionConfiguration.Builder> functionConfiguration)
The configuration of the Lambda function.
|
Function.Builder |
functionConfiguration(FunctionConfiguration functionConfiguration)
The configuration of the Lambda function.
|
Function.Builder |
id(String id)
A descriptive or arbitrary ID for the function.
|
copy
applyMutation, build
Function.Builder functionArn(String functionArn)
functionArn
- The ARN of the Lambda function.Function.Builder functionConfiguration(FunctionConfiguration functionConfiguration)
functionConfiguration
- The configuration of the Lambda function.default 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.Builder
functionConfiguration(FunctionConfiguration)
Function.Builder id(String id)
id
- A descriptive or arbitrary ID for the function. This value must be unique within the function
definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.