Interface SourceAlgorithm.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>, SdkBuilder<SourceAlgorithm.Builder,SourceAlgorithm>, SdkPojo
Enclosing class:
SourceAlgorithm

public static interface SourceAlgorithm.Builder extends SdkPojo, CopyableBuilder<SourceAlgorithm.Builder,SourceAlgorithm>
  • Method Details

    • modelDataUrl

      SourceAlgorithm.Builder modelDataUrl(String modelDataUrl)

      The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

      The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.

      Parameters:
      modelDataUrl - The Amazon S3 path where the model artifacts, which result from model training, are stored. This path must point to a single gzip compressed tar archive (.tar.gz suffix).

      The model artifacts must be in an S3 bucket that is in the same Amazon Web Services region as the algorithm.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelDataSource

      SourceAlgorithm.Builder modelDataSource(ModelDataSource modelDataSource)

      Specifies the location of ML model data to deploy during endpoint creation.

      Parameters:
      modelDataSource - Specifies the location of ML model data to deploy during endpoint creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modelDataSource

      default SourceAlgorithm.Builder modelDataSource(Consumer<ModelDataSource.Builder> modelDataSource)

      Specifies the location of ML model data to deploy during endpoint creation.

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

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

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

      SourceAlgorithm.Builder algorithmName(String algorithmName)

      The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.

      Parameters:
      algorithmName - The name of an algorithm that was used to create the model package. The algorithm must be either an algorithm resource in your SageMaker account or an algorithm in Amazon Web Services Marketplace that you are subscribed to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.