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

* 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; /** *

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

*/ 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 compute 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; /** *

* 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; /** *

* 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 for profile jobs, 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; /** *

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

* * @param configuration * 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. */ public void setConfiguration(ProfileConfiguration configuration) { this.configuration = configuration; } /** *

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

* * @return 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. */ public ProfileConfiguration getConfiguration() { return this.configuration; } /** *

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

* * @param configuration * 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. * @return Returns a reference to this object so that method calls can be chained together. */ public UpdateProfileJobRequest withConfiguration(ProfileConfiguration configuration) { setConfiguration(configuration); 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 UpdateProfileJobRequest 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:

*