/* * 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.emrcontainers.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* The values of StartJobRun API requests used in job runs started using the job template. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class JobTemplateData implements Serializable, Cloneable, StructuredPojo { /** ** The execution role ARN of the job run. *
*/ private String executionRoleArn; /** ** The release version of Amazon EMR. *
*/ private String releaseLabel; /** ** The configuration settings that are used to override defaults configuration. *
*/ private ParametricConfigurationOverrides configurationOverrides; private JobDriver jobDriver; /** ** The configuration of parameters existing in the job template. *
*/ private java.util.Map* The tags assigned to jobs started using the job template. *
*/ private java.util.Map* The execution role ARN of the job run. *
* * @param executionRoleArn * The execution role ARN of the job run. */ public void setExecutionRoleArn(String executionRoleArn) { this.executionRoleArn = executionRoleArn; } /** ** The execution role ARN of the job run. *
* * @return The execution role ARN of the job run. */ public String getExecutionRoleArn() { return this.executionRoleArn; } /** ** The execution role ARN of the job run. *
* * @param executionRoleArn * The execution role ARN of the job run. * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withExecutionRoleArn(String executionRoleArn) { setExecutionRoleArn(executionRoleArn); return this; } /** ** The release version of Amazon EMR. *
* * @param releaseLabel * The release version of Amazon EMR. */ public void setReleaseLabel(String releaseLabel) { this.releaseLabel = releaseLabel; } /** ** The release version of Amazon EMR. *
* * @return The release version of Amazon EMR. */ public String getReleaseLabel() { return this.releaseLabel; } /** ** The release version of Amazon EMR. *
* * @param releaseLabel * The release version of Amazon EMR. * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withReleaseLabel(String releaseLabel) { setReleaseLabel(releaseLabel); return this; } /** ** The configuration settings that are used to override defaults configuration. *
* * @param configurationOverrides * The configuration settings that are used to override defaults configuration. */ public void setConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides) { this.configurationOverrides = configurationOverrides; } /** ** The configuration settings that are used to override defaults configuration. *
* * @return The configuration settings that are used to override defaults configuration. */ public ParametricConfigurationOverrides getConfigurationOverrides() { return this.configurationOverrides; } /** ** The configuration settings that are used to override defaults configuration. *
* * @param configurationOverrides * The configuration settings that are used to override defaults configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withConfigurationOverrides(ParametricConfigurationOverrides configurationOverrides) { setConfigurationOverrides(configurationOverrides); return this; } /** * @param jobDriver */ public void setJobDriver(JobDriver jobDriver) { this.jobDriver = jobDriver; } /** * @return */ public JobDriver getJobDriver() { return this.jobDriver; } /** * @param jobDriver * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withJobDriver(JobDriver jobDriver) { setJobDriver(jobDriver); return this; } /** ** The configuration of parameters existing in the job template. *
* * @return The configuration of parameters existing in the job template. */ public java.util.Map* The configuration of parameters existing in the job template. *
* * @param parameterConfiguration * The configuration of parameters existing in the job template. */ public void setParameterConfiguration(java.util.Map* The configuration of parameters existing in the job template. *
* * @param parameterConfiguration * The configuration of parameters existing in the job template. * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withParameterConfiguration(java.util.Map* The tags assigned to jobs started using the job template. *
* * @return The tags assigned to jobs started using the job template. */ public java.util.Map* The tags assigned to jobs started using the job template. *
* * @param jobTags * The tags assigned to jobs started using the job template. */ public void setJobTags(java.util.Map* The tags assigned to jobs started using the job template. *
* * @param jobTags * The tags assigned to jobs started using the job template. * @return Returns a reference to this object so that method calls can be chained together. */ public JobTemplateData withJobTags(java.util.Map