Interface FunctionConfiguration.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<FunctionConfiguration.Builder,,- FunctionConfiguration> - SdkBuilder<FunctionConfiguration.Builder,,- FunctionConfiguration> - SdkPojo
- Enclosing class:
- FunctionConfiguration
@Mutable
@NotThreadSafe
public static interface FunctionConfiguration.Builder
extends SdkPojo, CopyableBuilder<FunctionConfiguration.Builder,FunctionConfiguration> 
- 
Method SummaryModifier and TypeMethodDescriptionencodingType(String encodingType) The expected encoding type of the input payload for the function.encodingType(EncodingType encodingType) The expected encoding type of the input payload for the function.default FunctionConfiguration.Builderenvironment(Consumer<FunctionConfigurationEnvironment.Builder> environment) The environment configuration of the function.environment(FunctionConfigurationEnvironment environment) The environment configuration of the function.The execution arguments.executable(String executable) The name of the function executable.functionRuntimeOverride(String functionRuntimeOverride) The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.memorySize(Integer memorySize) The memory size, in KB, which the function requires.True if the function is pinned.The allowed function execution time, after which Lambda should terminate the function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
encodingTypeThe expected encoding type of the input payload for the function. The default is ''json''.- Parameters:
- encodingType- The expected encoding type of the input payload for the function. The default is ''json''.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
encodingTypeThe expected encoding type of the input payload for the function. The default is ''json''.- Parameters:
- encodingType- The expected encoding type of the input payload for the function. The default is ''json''.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
environmentThe environment configuration of the function.- Parameters:
- environment- The environment configuration of the function.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
environmentdefault FunctionConfiguration.Builder environment(Consumer<FunctionConfigurationEnvironment.Builder> environment) The environment configuration of the function. This is a convenience method that creates an instance of theFunctionConfigurationEnvironment.Builderavoiding the need to create one manually viaFunctionConfigurationEnvironment.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironment(FunctionConfigurationEnvironment).- Parameters:
- environment- a consumer that will call methods on- FunctionConfigurationEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
execArgsThe execution arguments.- Parameters:
- execArgs- The execution arguments.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
executableThe name of the function executable.- Parameters:
- executable- The name of the function executable.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
memorySizeThe memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.- Parameters:
- memorySize- The memory size, in KB, which the function requires. This setting is not applicable and should be cleared when you run the Lambda function without containerization.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
pinnedTrue if the function is pinned. Pinned means the function is long-lived and starts when the core starts.- Parameters:
- pinned- True if the function is pinned. Pinned means the function is long-lived and starts when the core starts.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timeoutThe allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.- Parameters:
- timeout- The allowed function execution time, after which Lambda should terminate the function. This timeout still applies to pinned Lambda functions for each request.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
functionRuntimeOverrideThe Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.- Parameters:
- functionRuntimeOverride- The Lambda runtime supported by Greengrass which is to be used instead of the one specified in the Lambda function.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-