/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.sagemaker.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class CreateAlgorithmRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* The name of the algorithm. *

*/ private String algorithmName; /** *

* A description of the algorithm. *

*/ private String algorithmDescription; /** *

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

* */ private TrainingSpecification trainingSpecification; /** *

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

* */ private InferenceSpecification inferenceSpecification; /** *

* 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. *

*/ private AlgorithmValidationSpecification validationSpecification; /** *

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

*/ private Boolean certifyForMarketplace; /** *

* 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. *

*/ private java.util.List tags; /** *

* The name of the algorithm. *

* * @param algorithmName * The name of the algorithm. */ public void setAlgorithmName(String algorithmName) { this.algorithmName = algorithmName; } /** *

* The name of the algorithm. *

* * @return The name of the algorithm. */ public String getAlgorithmName() { return this.algorithmName; } /** *

* The name of the algorithm. *

* * @param algorithmName * The name of the algorithm. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAlgorithmRequest withAlgorithmName(String algorithmName) { setAlgorithmName(algorithmName); return this; } /** *

* A description of the algorithm. *

* * @param algorithmDescription * A description of the algorithm. */ public void setAlgorithmDescription(String algorithmDescription) { this.algorithmDescription = algorithmDescription; } /** *

* A description of the algorithm. *

* * @return A description of the algorithm. */ public String getAlgorithmDescription() { return this.algorithmDescription; } /** *

* A description of the algorithm. *

* * @param algorithmDescription * A description of the algorithm. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAlgorithmRequest withAlgorithmDescription(String algorithmDescription) { setAlgorithmDescription(algorithmDescription); return this; } /** *

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

* * * @param trainingSpecification * Specifies details about training jobs run by this algorithm, including the following:

*