Interface LambdaFunctionRecipeSource.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<LambdaFunctionRecipeSource.Builder,
,LambdaFunctionRecipeSource> SdkBuilder<LambdaFunctionRecipeSource.Builder,
,LambdaFunctionRecipeSource> SdkPojo
- Enclosing class:
LambdaFunctionRecipeSource
-
Method Summary
Modifier and TypeMethodDescriptioncomponentDependencies
(Map<String, ComponentDependencyRequirement> componentDependencies) The component versions on which this Lambda function component depends.componentLambdaParameters
(Consumer<LambdaExecutionParameters.Builder> componentLambdaParameters) The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.componentLambdaParameters
(LambdaExecutionParameters componentLambdaParameters) The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.componentName
(String componentName) The name of the component.componentPlatforms
(Collection<ComponentPlatform> componentPlatforms) The platforms that the component version supports.componentPlatforms
(Consumer<ComponentPlatform.Builder>... componentPlatforms) The platforms that the component version supports.componentPlatforms
(ComponentPlatform... componentPlatforms) The platforms that the component version supports.componentVersion
(String componentVersion) The version of the component.The ARN of the Lambda function.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentName
The name of the component.
Defaults to the name of the Lambda function.
- Parameters:
componentName
- The name of the component.Defaults to the name of the Lambda function.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 becomes3.0.0
.- Parameters:
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 becomes3.0.0
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentPlatforms
LambdaFunctionRecipeSource.Builder componentPlatforms(Collection<ComponentPlatform> componentPlatforms) The platforms that the component version supports.
- Parameters:
componentPlatforms
- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentPlatforms
The platforms that the component version supports.
- Parameters:
componentPlatforms
- The platforms that the component version supports.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentPlatforms
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 viaComponentPlatform.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponentPlatforms(List<ComponentPlatform>)
.- Parameters:
componentPlatforms
- a consumer that will call methods onComponentPlatform.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
componentDependencies
LambdaFunctionRecipeSource.Builder componentDependencies(Map<String, ComponentDependencyRequirement> componentDependencies) The component versions on which this Lambda function component depends.
- Parameters:
componentDependencies
- The component versions on which this Lambda function component depends.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentLambdaParameters
LambdaFunctionRecipeSource.Builder componentLambdaParameters(LambdaExecutionParameters componentLambdaParameters) The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.
- Parameters:
componentLambdaParameters
- The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentLambdaParameters
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 viaLambdaExecutionParameters.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomponentLambdaParameters(LambdaExecutionParameters)
.- Parameters:
componentLambdaParameters
- a consumer that will call methods onLambdaExecutionParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-