Interface LambdaFunctionRecipeSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LambdaFunctionRecipeSource.Builder,LambdaFunctionRecipeSource>,SdkBuilder<LambdaFunctionRecipeSource.Builder,LambdaFunctionRecipeSource>,SdkPojo
- Enclosing class:
- LambdaFunctionRecipeSource
public static interface LambdaFunctionRecipeSource.Builder extends SdkPojo, CopyableBuilder<LambdaFunctionRecipeSource.Builder,LambdaFunctionRecipeSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description LambdaFunctionRecipeSource.BuildercomponentDependencies(Map<String,ComponentDependencyRequirement> componentDependencies)The component versions on which this Lambda function component depends.default LambdaFunctionRecipeSource.BuildercomponentLambdaParameters(Consumer<LambdaExecutionParameters.Builder> componentLambdaParameters)The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.LambdaFunctionRecipeSource.BuildercomponentLambdaParameters(LambdaExecutionParameters componentLambdaParameters)The system and runtime parameters for the Lambda function as it runs on the Greengrass core device.LambdaFunctionRecipeSource.BuildercomponentName(String componentName)The name of the component.LambdaFunctionRecipeSource.BuildercomponentPlatforms(Collection<ComponentPlatform> componentPlatforms)The platforms that the component version supports.LambdaFunctionRecipeSource.BuildercomponentPlatforms(Consumer<ComponentPlatform.Builder>... componentPlatforms)The platforms that the component version supports.LambdaFunctionRecipeSource.BuildercomponentPlatforms(ComponentPlatform... componentPlatforms)The platforms that the component version supports.LambdaFunctionRecipeSource.BuildercomponentVersion(String componentVersion)The version of the component.LambdaFunctionRecipeSource.BuilderlambdaArn(String lambdaArn)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 Detail
-
lambdaArn
LambdaFunctionRecipeSource.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.- 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
LambdaFunctionRecipeSource.Builder componentName(String 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
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 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
LambdaFunctionRecipeSource.Builder componentPlatforms(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
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.Builderavoiding the need to create one manually viaComponentPlatform.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#componentPlatforms(List.) - 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:
#componentPlatforms(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaLambdaExecutionParameters.builder().When the
Consumercompletes,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:
componentLambdaParameters(LambdaExecutionParameters)
-
-