public static interface LambdaFunctionRecipeSource.Builder extends SdkPojo, CopyableBuilder<LambdaFunctionRecipeSource.Builder,LambdaFunctionRecipeSource>
| Modifier and Type | Method and Description |
|---|---|
LambdaFunctionRecipeSource.Builder |
componentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
|
default LambdaFunctionRecipeSource.Builder |
componentLambdaParameters(Consumer<LambdaExecutionParameters.Builder> componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
LambdaFunctionRecipeSource.Builder |
componentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
|
LambdaFunctionRecipeSource.Builder |
componentName(String componentName)
The name of the component.
|
LambdaFunctionRecipeSource.Builder |
componentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
|
LambdaFunctionRecipeSource.Builder |
componentPlatforms(ComponentPlatform... componentPlatforms)
The platforms that the component version supports.
|
LambdaFunctionRecipeSource.Builder |
componentPlatforms(Consumer<ComponentPlatform.Builder>... componentPlatforms)
The platforms that the component version supports.
|
LambdaFunctionRecipeSource.Builder |
componentVersion(String componentVersion)
The version of the component.
|
LambdaFunctionRecipeSource.Builder |
lambdaArn(String lambdaArn)
The ARN of the
Lambda function.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildLambdaFunctionRecipeSource.Builder lambdaArn(String lambdaArn)
The ARN of the
Lambda function. The ARN must include the version of the function to import. You can't use version aliases
like $LATEST.
lambdaArn - The ARN of
the Lambda function. The ARN must include the version of the function to import. You can't use version
aliases like $LATEST.LambdaFunctionRecipeSource.Builder componentName(String componentName)
The name of the component.
Defaults to the name of the Lambda function.
componentName - The name of the component.
Defaults to the name of the Lambda function.
LambdaFunctionRecipeSource.Builder componentVersion(String componentVersion)
The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function version
is 3, the component version becomes 3.0.0.
componentVersion - The version of the component.
Defaults to the version of the Lambda function as a semantic version. For example, if your function
version is 3, the component version becomes 3.0.0.
LambdaFunctionRecipeSource.Builder componentPlatforms(Collection<ComponentPlatform> componentPlatforms)
The platforms that the component version supports.
componentPlatforms - The platforms that the component version supports.LambdaFunctionRecipeSource.Builder componentPlatforms(ComponentPlatform... componentPlatforms)
The platforms that the component version supports.
componentPlatforms - The platforms that the component version supports.LambdaFunctionRecipeSource.Builder componentPlatforms(Consumer<ComponentPlatform.Builder>... componentPlatforms)
The platforms that the component version supports.
This is a convenience method that creates an instance of theComponentPlatform.Builder avoiding the need to
create one manually via
ComponentPlatform.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #componentPlatforms(List.
componentPlatforms - a consumer that will call methods on
ComponentPlatform.Builder#componentPlatforms(java.util.Collection) LambdaFunctionRecipeSource.Builder componentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)
The component versions on which this Lambda function component depends.
componentDependencies - The component versions on which this Lambda function component depends.LambdaFunctionRecipeSource.Builder componentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
componentLambdaParameters - The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.default LambdaFunctionRecipeSource.Builder componentLambdaParameters(Consumer<LambdaExecutionParameters.Builder> componentLambdaParameters)
The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
This is a convenience method that creates an instance of theLambdaExecutionParameters.Builder
avoiding the need to create one manually via LambdaExecutionParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to componentLambdaParameters(LambdaExecutionParameters).
componentLambdaParameters - a consumer that will call methods on LambdaExecutionParameters.BuildercomponentLambdaParameters(LambdaExecutionParameters)Copyright © 2023. All rights reserved.