Interface GreengrassConfiguration.Builder

  • Method Details

    • 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

      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:
    • 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.
    • targetPlatform

      default GreengrassConfiguration.Builder targetPlatform(Consumer<TargetPlatform.Builder> targetPlatform)

      The target platform for the model. If you specify TargetPlatform, you can't specify TargetDevice.

      This is a convenience method that creates an instance of the TargetPlatform.Builder avoiding the need to create one manually via TargetPlatform.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to targetPlatform(TargetPlatform).

      Parameters:
      targetPlatform - a consumer that will call methods on TargetPlatform.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 the S3Location.Builder avoiding the need to create one manually via S3Location.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to s3OutputLocation(S3Location).

      Parameters:
      s3OutputLocation - a consumer that will call methods on S3Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 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<Tag>).

      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: