Interface CreateAlgorithmRequest.Builder

    • Method Detail

      • algorithmName

        CreateAlgorithmRequest.Builder algorithmName​(String algorithmName)

        The name of the algorithm.

        Parameters:
        algorithmName - The name of the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • algorithmDescription

        CreateAlgorithmRequest.Builder algorithmDescription​(String algorithmDescription)

        A description of the algorithm.

        Parameters:
        algorithmDescription - A description of the algorithm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • trainingSpecification

        CreateAlgorithmRequest.Builder trainingSpecification​(TrainingSpecification trainingSpecification)

        Specifies details about training jobs run by this algorithm, including the following:

        • The Amazon ECR path of the container and the version digest of the algorithm.

        • The hyperparameters that the algorithm supports.

        • The instance types that the algorithm supports for training.

        • Whether the algorithm supports distributed training.

        • The metrics that the algorithm emits to Amazon CloudWatch.

        • Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.

        • The input channels that the algorithm supports for training data. For example, an algorithm might support train, validation, and test channels.

        Parameters:
        trainingSpecification - Specifies details about training jobs run by this algorithm, including the following:

        • The Amazon ECR path of the container and the version digest of the algorithm.

        • The hyperparameters that the algorithm supports.

        • The instance types that the algorithm supports for training.

        • Whether the algorithm supports distributed training.

        • The metrics that the algorithm emits to Amazon CloudWatch.

        • Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.

        • The input channels that the algorithm supports for training data. For example, an algorithm might support train, validation, and test channels.

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

        default CreateAlgorithmRequest.Builder trainingSpecification​(Consumer<TrainingSpecification.Builder> trainingSpecification)

        Specifies details about training jobs run by this algorithm, including the following:

        • The Amazon ECR path of the container and the version digest of the algorithm.

        • The hyperparameters that the algorithm supports.

        • The instance types that the algorithm supports for training.

        • Whether the algorithm supports distributed training.

        • The metrics that the algorithm emits to Amazon CloudWatch.

        • Which metrics that the algorithm emits can be used as the objective metric for hyperparameter tuning jobs.

        • The input channels that the algorithm supports for training data. For example, an algorithm might support train, validation, and test channels.

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

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

        Parameters:
        trainingSpecification - a consumer that will call methods on TrainingSpecification.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        trainingSpecification(TrainingSpecification)
      • inferenceSpecification

        CreateAlgorithmRequest.Builder inferenceSpecification​(InferenceSpecification inferenceSpecification)

        Specifies details about inference jobs that the algorithm runs, including the following:

        • The Amazon ECR paths of containers that contain the inference code and model artifacts.

        • The instance types that the algorithm supports for transform jobs and real-time endpoints used for inference.

        • The input and output content formats that the algorithm supports for inference.

        Parameters:
        inferenceSpecification - Specifies details about inference jobs that the algorithm runs, including the following:

        • The Amazon ECR paths of containers that contain the inference code and model artifacts.

        • The instance types that the algorithm supports for transform jobs and real-time endpoints used for inference.

        • The input and output content formats that the algorithm supports for inference.

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

        CreateAlgorithmRequest.Builder validationSpecification​(AlgorithmValidationSpecification validationSpecification)

        Specifies configurations for one or more training jobs and that SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that SageMaker runs to test the algorithm's inference code.

        Parameters:
        validationSpecification - Specifies configurations for one or more training jobs and that SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that SageMaker runs to test the algorithm's inference code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • certifyForMarketplace

        CreateAlgorithmRequest.Builder certifyForMarketplace​(Boolean certifyForMarketplace)

        Whether to certify the algorithm so that it can be listed in Amazon Web Services Marketplace.

        Parameters:
        certifyForMarketplace - Whether to certify the algorithm so that it can be listed in Amazon Web Services Marketplace.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAlgorithmRequest.Builder tags​(Collection<Tag> tags)

        An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

        Parameters:
        tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAlgorithmRequest.Builder tags​(Tag... tags)

        An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

        Parameters:
        tags - An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateAlgorithmRequest.Builder tags​(Consumer<Tag.Builder>... tags)

        An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, for example, by purpose, owner, or environment. For more information, see Tagging Amazon Web Services Resources.

        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)