@Generated(value="software.amazon.awssdk:codegen") public final class CreateAlgorithmRequest extends SageMakerRequest implements ToCopyableBuilder<CreateAlgorithmRequest.Builder,CreateAlgorithmRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
CreateAlgorithmRequest.Builder |
Modifier and Type | Method and Description |
---|---|
String |
algorithmDescription()
A description of the algorithm.
|
String |
algorithmName()
The name of the algorithm.
|
static CreateAlgorithmRequest.Builder |
builder() |
Boolean |
certifyForMarketplace()
Whether to certify the algorithm so that it can be listed in AWS Marektplace.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz)
Used to retrieve the value of a field from any class that extends
SdkRequest . |
int |
hashCode() |
InferenceSpecification |
inferenceSpecification()
Specifies details about inference jobs that the algorithm runs, including the following:
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAlgorithmRequest.Builder> |
serializableBuilderClass() |
CreateAlgorithmRequest.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
TrainingSpecification |
trainingSpecification()
Specifies details about training jobs run by this algorithm, including the following:
|
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.
|
overrideConfiguration
copy
public String algorithmName()
The name of the algorithm. The name must have 1 to 63 characters. Valid characters are a-z, A-Z, 0-9, and - (hyphen).
public String algorithmDescription()
A description of the algorithm.
public 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.
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.
public 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.
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.
public 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.
public Boolean certifyForMarketplace()
Whether to certify the algorithm so that it can be listed in AWS Marektplace.
public CreateAlgorithmRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateAlgorithmRequest.Builder,CreateAlgorithmRequest>
toBuilder
in class SageMakerRequest
public static CreateAlgorithmRequest.Builder builder()
public static Class<? extends CreateAlgorithmRequest.Builder> serializableBuilderClass()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
SdkRequest
SdkRequest
. The field name
specified should match the member name from the corresponding service-2.json model specified in the
codegen-resources folder for a given service. The class specifies what class to cast the returned value to.
If the returned value is also a modeled class, the SdkRequest.getValueForField(String, Class)
method will
again be available.getValueForField
in class SdkRequest
fieldName
- The name of the member to be retrieved.clazz
- The class to cast the returned object to.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.