Interface OptimizationJobOutputConfig.Builder

  • Method Details

    • kmsKeyId

      The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.

      Parameters:
      kmsKeyId - The Amazon Resource Name (ARN) of a key in Amazon Web Services KMS. SageMaker uses they key to encrypt the artifacts of the optimized model when SageMaker uploads the model to Amazon S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3OutputLocation

      OptimizationJobOutputConfig.Builder s3OutputLocation(String s3OutputLocation)

      The Amazon S3 URI for where to store the optimized model that you create with an optimization job.

      Parameters:
      s3OutputLocation - The Amazon S3 URI for where to store the optimized model that you create with an optimization job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sageMakerModel

      The name of a SageMaker model to use as the output destination for an optimization job.

      Parameters:
      sageMakerModel - The name of a SageMaker model to use as the output destination for an optimization job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sageMakerModel

      The name of a SageMaker model to use as the output destination for an optimization job.

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

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

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