Interface ContainerConfig.Builder

  • Method Details

    • imageUri

      ContainerConfig.Builder imageUri(String imageUri)

      The registry path of the docker image that contains the algorithm. Clean Rooms ML currently only supports the registry/repository[:tag] image path format. For more information about using images in Clean Rooms ML, see the Sagemaker API reference.

      Parameters:
      imageUri - The registry path of the docker image that contains the algorithm. Clean Rooms ML currently only supports the registry/repository[:tag] image path format. For more information about using images in Clean Rooms ML, see the Sagemaker API reference.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entrypoint

      ContainerConfig.Builder entrypoint(Collection<String> entrypoint)

      The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.

      Parameters:
      entrypoint - The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • entrypoint

      ContainerConfig.Builder entrypoint(String... entrypoint)

      The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.

      Parameters:
      entrypoint - The entrypoint script for a Docker container used to run a training job. This script takes precedence over the default train processing instructions. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arguments

      ContainerConfig.Builder arguments(Collection<String> arguments)

      The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.

      Parameters:
      arguments - The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arguments

      ContainerConfig.Builder arguments(String... arguments)

      The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.

      Parameters:
      arguments - The arguments for a container used to run a training job. See How Amazon SageMaker Runs Your Training Image for additional information. For more information, see How Sagemaker runs your training image.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDefinitions

      ContainerConfig.Builder metricDefinitions(Collection<MetricDefinition> metricDefinitions)

      A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members' Amazon CloudWatch using IAM role configured in PutMLConfiguration.

      Parameters:
      metricDefinitions - A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members' Amazon CloudWatch using IAM role configured in PutMLConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDefinitions

      ContainerConfig.Builder metricDefinitions(MetricDefinition... metricDefinitions)

      A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members' Amazon CloudWatch using IAM role configured in PutMLConfiguration.

      Parameters:
      metricDefinitions - A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members' Amazon CloudWatch using IAM role configured in PutMLConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricDefinitions

      ContainerConfig.Builder metricDefinitions(Consumer<MetricDefinition.Builder>... metricDefinitions)

      A list of metric definition objects. Each object specifies the metric name and regular expressions used to parse algorithm logs. Amazon Web Services Clean Rooms ML publishes each metric to all members' Amazon CloudWatch using IAM role configured in PutMLConfiguration.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to metricDefinitions(List<MetricDefinition>).

      Parameters:
      metricDefinitions - a consumer that will call methods on MetricDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: