Interface GreengrassConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GreengrassConfiguration.Builder,
,GreengrassConfiguration> SdkBuilder<GreengrassConfiguration.Builder,
,GreengrassConfiguration> SdkPojo
- Enclosing class:
GreengrassConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncompilerOptions
(String compilerOptions) Additional compiler options for the Greengrass component.componentDescription
(String componentDescription) A description for the AWS IoT Greengrass component.componentName
(String componentName) A name for the AWS IoT Greengrass component.componentVersion
(String componentVersion) A Version for the AWS IoT Greengrass component.default GreengrassConfiguration.Builder
s3OutputLocation
(Consumer<S3Location.Builder> s3OutputLocation) An S3 location in which Lookout for Vision stores the component artifacts.s3OutputLocation
(S3Location s3OutputLocation) An S3 location in which Lookout for Vision stores the component artifacts.tags
(Collection<Tag> tags) A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.tags
(Consumer<Tag.Builder>... tags) A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.targetDevice
(String targetDevice) The target device for the model.targetDevice
(TargetDevice targetDevice) The target device for the model.default GreengrassConfiguration.Builder
targetPlatform
(Consumer<TargetPlatform.Builder> targetPlatform) The target platform for the model.targetPlatform
(TargetPlatform targetPlatform) The target platform for the model.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
-
compilerOptions
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specify
TargetDevice
, don't specifyCompilerOptions
.For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
- Parameters:
compilerOptions
- Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU) and CPU accelerators are supported. If you specifyTargetDevice
, don't specifyCompilerOptions
.For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetDevice
The target device for the model. Currently the only supported value is
jetson_xavier
. If you specifyTargetDevice
, you can't specifyTargetPlatform
.- Parameters:
targetDevice
- The target device for the model. Currently the only supported value isjetson_xavier
. If you specifyTargetDevice
, you can't specifyTargetPlatform
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetDevice
The target device for the model. Currently the only supported value is
jetson_xavier
. If you specifyTargetDevice
, you can't specifyTargetPlatform
.- Parameters:
targetDevice
- The target device for the model. Currently the only supported value isjetson_xavier
. If you specifyTargetDevice
, you can't specifyTargetPlatform
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetPlatform
The target platform for the model. If you specify
TargetPlatform
, you can't specifyTargetDevice
.- Parameters:
targetPlatform
- The target platform for the model. If you specifyTargetPlatform
, you can't specifyTargetDevice
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetPlatform
default GreengrassConfiguration.Builder targetPlatform(Consumer<TargetPlatform.Builder> targetPlatform) The target platform for the model. If you specify
This is a convenience method that creates an instance of theTargetPlatform
, you can't specifyTargetDevice
.TargetPlatform.Builder
avoiding the need to create one manually viaTargetPlatform.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargetPlatform(TargetPlatform)
.- Parameters:
targetPlatform
- a consumer that will call methods onTargetPlatform.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
s3OutputLocation
An S3 location in which Lookout for Vision stores the component artifacts.
- Parameters:
s3OutputLocation
- An S3 location in which Lookout for Vision stores the component artifacts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3OutputLocation
default GreengrassConfiguration.Builder s3OutputLocation(Consumer<S3Location.Builder> s3OutputLocation) An S3 location in which Lookout for Vision stores the component artifacts.
This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tos3OutputLocation(S3Location)
.- Parameters:
s3OutputLocation
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
componentName
A name for the AWS IoT Greengrass component.
- Parameters:
componentName
- A name for the AWS IoT Greengrass component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentVersion
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.- Parameters:
componentVersion
- A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value ofModel Version.0.0
is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentDescription
A description for the AWS IoT Greengrass component.
- Parameters:
componentDescription
- A description for the AWS IoT Greengrass component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
- Parameters:
tags
- A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
- Parameters:
tags
- A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-