public static interface CreateComponentVersionRequest.Builder extends GreengrassV2Request.Builder, SdkPojo, CopyableBuilder<CreateComponentVersionRequest.Builder,CreateComponentVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateComponentVersionRequest.Builder |
inlineRecipe(SdkBytes inlineRecipe)
The recipe to use to create the component.
|
default CreateComponentVersionRequest.Builder |
lambdaFunction(Consumer<LambdaFunctionRecipeSource.Builder> lambdaFunction)
The parameters to create a component from a Lambda function.
|
CreateComponentVersionRequest.Builder |
lambdaFunction(LambdaFunctionRecipeSource lambdaFunction)
The parameters to create a component from a Lambda function.
|
CreateComponentVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateComponentVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateComponentVersionRequest.Builder |
tags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateComponentVersionRequest.Builder inlineRecipe(SdkBytes inlineRecipe)
The recipe to use to create the component. The recipe defines the component's metadata, parameters, dependencies, lifecycle, artifacts, and platform compatibility.
You must specify either inlineRecipe or lambdaFunction.
inlineRecipe - The recipe to use to create the component. The recipe defines the component's metadata, parameters,
dependencies, lifecycle, artifacts, and platform compatibility.
You must specify either inlineRecipe or lambdaFunction.
CreateComponentVersionRequest.Builder lambdaFunction(LambdaFunctionRecipeSource lambdaFunction)
The parameters to create a component from a Lambda function.
You must specify either inlineRecipe or lambdaFunction.
lambdaFunction - The parameters to create a component from a Lambda function.
You must specify either inlineRecipe or lambdaFunction.
default CreateComponentVersionRequest.Builder lambdaFunction(Consumer<LambdaFunctionRecipeSource.Builder> lambdaFunction)
The parameters to create a component from a Lambda function.
You must specify either inlineRecipe or lambdaFunction.
LambdaFunctionRecipeSource.Builder avoiding the
need to create one manually via LambdaFunctionRecipeSource.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to lambdaFunction(LambdaFunctionRecipeSource).lambdaFunction - a consumer that will call methods on LambdaFunctionRecipeSource.BuilderlambdaFunction(LambdaFunctionRecipeSource)CreateComponentVersionRequest.Builder tags(Map<String,String> tags)
A list of key-value pairs that contain metadata for the resource. For more information, see Tag your resources in the AWS IoT Greengrass V2 Developer Guide.
tags - A list of key-value pairs that contain metadata for the resource. For more information, see Tag your
resources in the AWS IoT Greengrass V2 Developer Guide.CreateComponentVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateComponentVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.