public static interface CreateAlgorithmRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateAlgorithmRequest.Builder,CreateAlgorithmRequest>
Modifier and Type | Method and Description |
---|---|
CreateAlgorithmRequest.Builder |
algorithmDescription(String algorithmDescription)
A description of the algorithm.
|
CreateAlgorithmRequest.Builder |
algorithmName(String algorithmName)
The name of the algorithm.
|
CreateAlgorithmRequest.Builder |
certifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the algorithm so that it can be listed in AWS Marketplace.
|
default CreateAlgorithmRequest.Builder |
inferenceSpecification(Consumer<InferenceSpecification.Builder> inferenceSpecification)
Specifies details about inference jobs that the algorithm runs, including the following:
|
CreateAlgorithmRequest.Builder |
inferenceSpecification(InferenceSpecification inferenceSpecification)
Specifies details about inference jobs that the algorithm runs, including the following:
|
CreateAlgorithmRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateAlgorithmRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
default CreateAlgorithmRequest.Builder |
trainingSpecification(Consumer<TrainingSpecification.Builder> trainingSpecification)
Specifies details about training jobs run by this algorithm, including the following:
|
CreateAlgorithmRequest.Builder |
trainingSpecification(TrainingSpecification trainingSpecification)
Specifies details about training jobs run by this algorithm, including the following:
|
CreateAlgorithmRequest.Builder |
validationSpecification(AlgorithmValidationSpecification validationSpecification)
Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the algorithm's
training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs to test the
algorithm's inference code.
|
default CreateAlgorithmRequest.Builder |
validationSpecification(Consumer<AlgorithmValidationSpecification.Builder> validationSpecification)
Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the algorithm's
training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs to test the
algorithm's inference code.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateAlgorithmRequest.Builder algorithmName(String algorithmName)
The name of the algorithm.
algorithmName
- The name of the algorithm.CreateAlgorithmRequest.Builder algorithmDescription(String algorithmDescription)
A description of the algorithm.
algorithmDescription
- A description of the algorithm.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.
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.
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.
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)
.trainingSpecification
- a consumer that will call methods on TrainingSpecification.Builder
trainingSpecification(TrainingSpecification)
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.
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.
default CreateAlgorithmRequest.Builder inferenceSpecification(Consumer<InferenceSpecification.Builder> 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.
InferenceSpecification.Builder
avoiding the
need to create one manually via InferenceSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to inferenceSpecification(InferenceSpecification)
.inferenceSpecification
- a consumer that will call methods on InferenceSpecification.Builder
inferenceSpecification(InferenceSpecification)
CreateAlgorithmRequest.Builder validationSpecification(AlgorithmValidationSpecification validationSpecification)
Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs to test the algorithm's inference code.
validationSpecification
- Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the
algorithm's training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs
to test the algorithm's inference code.default CreateAlgorithmRequest.Builder validationSpecification(Consumer<AlgorithmValidationSpecification.Builder> validationSpecification)
Specifies configurations for one or more training jobs and that Amazon SageMaker runs to test the algorithm's training code and, optionally, one or more batch transform jobs that Amazon SageMaker runs to test the algorithm's inference code.
This is a convenience that creates an instance of theAlgorithmValidationSpecification.Builder
avoiding the need to create one manually via AlgorithmValidationSpecification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to validationSpecification(AlgorithmValidationSpecification)
.validationSpecification
- a consumer that will call methods on AlgorithmValidationSpecification.Builder
validationSpecification(AlgorithmValidationSpecification)
CreateAlgorithmRequest.Builder certifyForMarketplace(Boolean certifyForMarketplace)
Whether to certify the algorithm so that it can be listed in AWS Marketplace.
certifyForMarketplace
- Whether to certify the algorithm so that it can be listed in AWS Marketplace.CreateAlgorithmRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
CreateAlgorithmRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.