Interface GreengrassConfiguration.Builder

    • 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 specify CompilerOptions.

        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 specify TargetDevice, don't specify CompilerOptions.

        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 specify TargetDevice, you can't specify TargetPlatform.

        Parameters:
        targetDevice - The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.
        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 specify TargetDevice, you can't specify TargetPlatform.

        Parameters:
        targetDevice - The target device for the model. Currently the only supported value is jetson_xavier. If you specify TargetDevice, you can't specify TargetPlatform.
        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 specify TargetDevice.

        Parameters:
        targetPlatform - The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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.
      • 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.0 is used.

        Parameters:
        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.
        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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        Parameters:
        tags - a consumer that will call methods on Tag.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #tags(java.util.Collection)