Interface GreengrassConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GreengrassConfiguration.Builder,GreengrassConfiguration>,SdkBuilder<GreengrassConfiguration.Builder,GreengrassConfiguration>,SdkPojo
- Enclosing class:
- GreengrassConfiguration
public static interface GreengrassConfiguration.Builder extends SdkPojo, CopyableBuilder<GreengrassConfiguration.Builder,GreengrassConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GreengrassConfiguration.BuildercompilerOptions(String compilerOptions)Additional compiler options for the Greengrass component.GreengrassConfiguration.BuildercomponentDescription(String componentDescription)A description for the AWS IoT Greengrass component.GreengrassConfiguration.BuildercomponentName(String componentName)A name for the AWS IoT Greengrass component.GreengrassConfiguration.BuildercomponentVersion(String componentVersion)A Version for the AWS IoT Greengrass component.default GreengrassConfiguration.Builders3OutputLocation(Consumer<S3Location.Builder> s3OutputLocation)An S3 location in which Lookout for Vision stores the component artifacts.GreengrassConfiguration.Builders3OutputLocation(S3Location s3OutputLocation)An S3 location in which Lookout for Vision stores the component artifacts.GreengrassConfiguration.Buildertags(Collection<Tag> tags)A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.GreengrassConfiguration.Buildertags(Consumer<Tag.Builder>... tags)A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.GreengrassConfiguration.Buildertags(Tag... tags)A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.GreengrassConfiguration.BuildertargetDevice(String targetDevice)The target device for the model.GreengrassConfiguration.BuildertargetDevice(TargetDevice targetDevice)The target device for the model.default GreengrassConfiguration.BuildertargetPlatform(Consumer<TargetPlatform.Builder> targetPlatform)The target platform for the model.GreengrassConfiguration.BuildertargetPlatform(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
compilerOptions
GreengrassConfiguration.Builder compilerOptions(String 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
GreengrassConfiguration.Builder targetDevice(String 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,TargetDevice
-
targetDevice
GreengrassConfiguration.Builder targetDevice(TargetDevice 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,TargetDevice
-
targetPlatform
GreengrassConfiguration.Builder targetPlatform(TargetPlatform 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.Builderavoiding the need to create one manually viaTargetPlatform.builder().When the
Consumercompletes,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:
targetPlatform(TargetPlatform)
-
s3OutputLocation
GreengrassConfiguration.Builder s3OutputLocation(S3Location 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.Builderavoiding the need to create one manually viaS3Location.builder().When the
Consumercompletes,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:
s3OutputLocation(S3Location)
-
componentName
GreengrassConfiguration.Builder componentName(String 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
GreengrassConfiguration.Builder componentVersion(String componentVersion)
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0is used.- Parameters:
componentVersion- A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value ofModel Version.0.0is used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
componentDescription
GreengrassConfiguration.Builder componentDescription(String 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
GreengrassConfiguration.Builder tags(Collection<Tag> 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
GreengrassConfiguration.Builder tags(Tag... 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
GreengrassConfiguration.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-