/* * 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 CreateAutoMLJobV2Request extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* Identifies an Autopilot job. The name must be unique to your account and is case insensitive. *

*/ private String autoMLJobName; /** *

* An array of channel objects describing the input data and their location. Each channel is a named input source. * Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend * on the problem type: *

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

* Provides information about encryption and the Amazon S3 output path needed to store artifacts from an AutoML job. *

*/ private AutoMLOutputDataConfig outputDataConfig; /** *

* Defines the configuration settings of one of the supported problem types. *

*/ private AutoMLProblemTypeConfig autoMLProblemTypeConfig; /** *

* The ARN of the role that is used to access the data. *

*/ private String roleArn; /** *

* An array of key-value pairs. You can use tags to categorize your Amazon Web Services resources in different ways, * such as by purpose, owner, or environment. For more information, see Tagging Amazon Web ServicesResources. * Tag keys must be unique per resource. *

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

* The security configuration for traffic encryption or Amazon VPC settings. *

*/ private AutoMLSecurityConfig securityConfig; /** *

* Specifies a metric to minimize or maximize as the objective of a job. If not specified, the default objective * metric depends on the problem type. For the list of default values per problem type, see AutoMLJobObjective. *

* *

* For tabular problem types, you must either provide both the AutoMLJobObjective and indicate the type * of supervised learning problem in AutoMLProblemTypeConfig (TabularJobConfig.ProblemType * ), or none at all. *

*
*/ private AutoMLJobObjective autoMLJobObjective; /** *

* Specifies how to generate the endpoint name for an automatic one-click Autopilot model deployment. *

*/ private ModelDeployConfig modelDeployConfig; /** *

* This structure specifies how to split the data into train and validation datasets. *

*

* The validation and training datasets must contain the same headers. For jobs created by calling * CreateAutoMLJob, the validation dataset must be less than 2 GB in size. *

* *

* This attribute must not be set for the time-series forecasting problem type, as Autopilot automatically splits * the input dataset into training and validation sets. *

*
*/ private AutoMLDataSplitConfig dataSplitConfig; /** *

* Identifies an Autopilot job. The name must be unique to your account and is case insensitive. *

* * @param autoMLJobName * Identifies an Autopilot job. The name must be unique to your account and is case insensitive. */ public void setAutoMLJobName(String autoMLJobName) { this.autoMLJobName = autoMLJobName; } /** *

* Identifies an Autopilot job. The name must be unique to your account and is case insensitive. *

* * @return Identifies an Autopilot job. The name must be unique to your account and is case insensitive. */ public String getAutoMLJobName() { return this.autoMLJobName; } /** *

* Identifies an Autopilot job. The name must be unique to your account and is case insensitive. *

* * @param autoMLJobName * Identifies an Autopilot job. The name must be unique to your account and is case insensitive. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateAutoMLJobV2Request withAutoMLJobName(String autoMLJobName) { setAutoMLJobName(autoMLJobName); return this; } /** *

* An array of channel objects describing the input data and their location. Each channel is a named input source. * Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported formats depend * on the problem type: *

* * * @return An array of channel objects describing the input data and their location. Each channel is a named input * source. Similar to the InputDataConfig attribute in the CreateAutoMLJob input parameters. The supported * formats depend on the problem type:

*