/* * 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.sagemakergeospatial.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 StartEarthObservationJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *
* A unique token that guarantees that the call to this API is idempotent. *
*/ private String clientToken; /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
*/ private String executionRoleArn; /** ** Input configuration information for the Earth Observation job. *
*/ private InputConfigInput inputConfig; /** ** An object containing information about the job configuration. *
*/ private JobConfigInput jobConfig; /** ** The Key Management Service key ID for server-side encryption. *
*/ private String kmsKeyId; /** ** The name of the Earth Observation job. *
*/ private String name; /** ** Each tag consists of a key and a value. *
*/ private java.util.Map* A unique token that guarantees that the call to this API is idempotent. *
* * @param clientToken * A unique token that guarantees that the call to this API is idempotent. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** A unique token that guarantees that the call to this API is idempotent. *
* * @return A unique token that guarantees that the call to this API is idempotent. */ public String getClientToken() { return this.clientToken; } /** ** A unique token that guarantees that the call to this API is idempotent. *
* * @param clientToken * A unique token that guarantees that the call to this API is idempotent. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @param executionRoleArn * The Amazon Resource Name (ARN) of the IAM role that you specified for the job. */ public void setExecutionRoleArn(String executionRoleArn) { this.executionRoleArn = executionRoleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @return The Amazon Resource Name (ARN) of the IAM role that you specified for the job. */ public String getExecutionRoleArn() { return this.executionRoleArn; } /** ** The Amazon Resource Name (ARN) of the IAM role that you specified for the job. *
* * @param executionRoleArn * The Amazon Resource Name (ARN) of the IAM role that you specified for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withExecutionRoleArn(String executionRoleArn) { setExecutionRoleArn(executionRoleArn); return this; } /** ** Input configuration information for the Earth Observation job. *
* * @param inputConfig * Input configuration information for the Earth Observation job. */ public void setInputConfig(InputConfigInput inputConfig) { this.inputConfig = inputConfig; } /** ** Input configuration information for the Earth Observation job. *
* * @return Input configuration information for the Earth Observation job. */ public InputConfigInput getInputConfig() { return this.inputConfig; } /** ** Input configuration information for the Earth Observation job. *
* * @param inputConfig * Input configuration information for the Earth Observation job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withInputConfig(InputConfigInput inputConfig) { setInputConfig(inputConfig); return this; } /** ** An object containing information about the job configuration. *
* * @param jobConfig * An object containing information about the job configuration. */ public void setJobConfig(JobConfigInput jobConfig) { this.jobConfig = jobConfig; } /** ** An object containing information about the job configuration. *
* * @return An object containing information about the job configuration. */ public JobConfigInput getJobConfig() { return this.jobConfig; } /** ** An object containing information about the job configuration. *
* * @param jobConfig * An object containing information about the job configuration. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withJobConfig(JobConfigInput jobConfig) { setJobConfig(jobConfig); return this; } /** ** The Key Management Service key ID for server-side encryption. *
* * @param kmsKeyId * The Key Management Service key ID for server-side encryption. */ public void setKmsKeyId(String kmsKeyId) { this.kmsKeyId = kmsKeyId; } /** ** The Key Management Service key ID for server-side encryption. *
* * @return The Key Management Service key ID for server-side encryption. */ public String getKmsKeyId() { return this.kmsKeyId; } /** ** The Key Management Service key ID for server-side encryption. *
* * @param kmsKeyId * The Key Management Service key ID for server-side encryption. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withKmsKeyId(String kmsKeyId) { setKmsKeyId(kmsKeyId); return this; } /** ** The name of the Earth Observation job. *
* * @param name * The name of the Earth Observation job. */ public void setName(String name) { this.name = name; } /** ** The name of the Earth Observation job. *
* * @return The name of the Earth Observation job. */ public String getName() { return this.name; } /** ** The name of the Earth Observation job. *
* * @param name * The name of the Earth Observation job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withName(String name) { setName(name); return this; } /** ** Each tag consists of a key and a value. *
* * @return Each tag consists of a key and a value. */ public java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. */ public void setTags(java.util.Map* Each tag consists of a key and a value. *
* * @param tags * Each tag consists of a key and a value. * @return Returns a reference to this object so that method calls can be chained together. */ public StartEarthObservationJobRequest withTags(java.util.Map