CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
, SdkBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
public static interface FunctionConfiguration.Builder extends CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration>
Modifier and Type | Method | Description |
---|---|---|
FunctionConfiguration.Builder |
environment(FunctionConfigurationEnvironment environment) |
Environment of the function configuration
|
FunctionConfiguration.Builder |
execArgs(String execArgs) |
Execution Arguments
|
FunctionConfiguration.Builder |
executable(String executable) |
Executable
|
FunctionConfiguration.Builder |
memorySize(Integer memorySize) |
The memory size, in KB, you configured for the function.
|
FunctionConfiguration.Builder |
pinned(Boolean pinned) |
Whether the function is pinned or not.
|
FunctionConfiguration.Builder |
timeout(Integer timeout) |
The function execution time at which Lambda should terminate the function.
|
copy
apply, build
FunctionConfiguration.Builder environment(FunctionConfigurationEnvironment environment)
environment
- Environment of the function configurationFunctionConfiguration.Builder execArgs(String execArgs)
execArgs
- Execution ArgumentsFunctionConfiguration.Builder executable(String executable)
executable
- ExecutableFunctionConfiguration.Builder memorySize(Integer memorySize)
memorySize
- The memory size, in KB, you configured for the function.FunctionConfiguration.Builder pinned(Boolean pinned)
pinned
- Whether the function is pinned or not. Pinned means the function is long-lived and starts when the
core starts.FunctionConfiguration.Builder timeout(Integer timeout)
timeout
- The function execution time at which Lambda should terminate the function. This timeout still applies
to pinned lambdas for each request.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.