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

* The name of the dataset that this job is to act upon. *

*/ private String datasetName; /** *

* The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. *

*/ private String encryptionKeyArn; /** *

* The encryption mode for the job, which can be one of the following: *

* */ private String encryptionMode; /** *

* The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and * space. *

*/ private String name; /** *

* Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log * stream for each job run. *

*/ private String logSubscription; /** *

* The maximum number of nodes that DataBrew can use when the job processes data. *

*/ private Integer maxCapacity; /** *

* The maximum number of times to retry the job after a job run fails. *

*/ private Integer maxRetries; private S3Location outputLocation; /** *

* Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of * evaluations. When configuration is null, the profile job will run with default settings. *

*/ private ProfileConfiguration configuration; /** *

* List of validation configurations that are applied to the profile job. *

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

* The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs * the job. *

*/ private String roleArn; /** *

* Metadata tags to apply to this job. *

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

* The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of * TIMEOUT. *

*/ private Integer timeout; /** *

* Sample configuration for profile jobs only. Determines the number of rows on which the profile job will be * executed. If a JobSample value is not provided, the default value will be used. The default value is CUSTOM_ROWS * for the mode parameter and 20000 for the size parameter. *

*/ private JobSample jobSample; /** *

* The name of the dataset that this job is to act upon. *

* * @param datasetName * The name of the dataset that this job is to act upon. */ public void setDatasetName(String datasetName) { this.datasetName = datasetName; } /** *

* The name of the dataset that this job is to act upon. *

* * @return The name of the dataset that this job is to act upon. */ public String getDatasetName() { return this.datasetName; } /** *

* The name of the dataset that this job is to act upon. *

* * @param datasetName * The name of the dataset that this job is to act upon. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileJobRequest withDatasetName(String datasetName) { setDatasetName(datasetName); return this; } /** *

* The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. *

* * @param encryptionKeyArn * The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. */ public void setEncryptionKeyArn(String encryptionKeyArn) { this.encryptionKeyArn = encryptionKeyArn; } /** *

* The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. *

* * @return The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. */ public String getEncryptionKeyArn() { return this.encryptionKeyArn; } /** *

* The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. *

* * @param encryptionKeyArn * The Amazon Resource Name (ARN) of an encryption key that is used to protect the job. * @return Returns a reference to this object so that method calls can be chained together. */ public CreateProfileJobRequest withEncryptionKeyArn(String encryptionKeyArn) { setEncryptionKeyArn(encryptionKeyArn); return this; } /** *

* The encryption mode for the job, which can be one of the following: *

* * * @param encryptionMode * The encryption mode for the job, which can be one of the following:

*