/* * 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.omics.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; import com.amazonaws.auth.SignerTypeAware; /** * * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class StartReferenceImportJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable, SignerTypeAware { /** *
* The job's reference store ID. *
*/ private String referenceStoreId; /** ** A service role for the job. *
*/ private String roleArn; /** ** To ensure that jobs don't run multiple times, specify a unique token for each job. *
*/ private String clientToken; /** ** The job's source files. *
*/ private java.util.List* The job's reference store ID. *
* * @param referenceStoreId * The job's reference store ID. */ public void setReferenceStoreId(String referenceStoreId) { this.referenceStoreId = referenceStoreId; } /** ** The job's reference store ID. *
* * @return The job's reference store ID. */ public String getReferenceStoreId() { return this.referenceStoreId; } /** ** The job's reference store ID. *
* * @param referenceStoreId * The job's reference store ID. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReferenceImportJobRequest withReferenceStoreId(String referenceStoreId) { setReferenceStoreId(referenceStoreId); return this; } /** ** A service role for the job. *
* * @param roleArn * A service role for the job. */ public void setRoleArn(String roleArn) { this.roleArn = roleArn; } /** ** A service role for the job. *
* * @return A service role for the job. */ public String getRoleArn() { return this.roleArn; } /** ** A service role for the job. *
* * @param roleArn * A service role for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReferenceImportJobRequest withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** To ensure that jobs don't run multiple times, specify a unique token for each job. *
* * @param clientToken * To ensure that jobs don't run multiple times, specify a unique token for each job. */ public void setClientToken(String clientToken) { this.clientToken = clientToken; } /** ** To ensure that jobs don't run multiple times, specify a unique token for each job. *
* * @return To ensure that jobs don't run multiple times, specify a unique token for each job. */ public String getClientToken() { return this.clientToken; } /** ** To ensure that jobs don't run multiple times, specify a unique token for each job. *
* * @param clientToken * To ensure that jobs don't run multiple times, specify a unique token for each job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReferenceImportJobRequest withClientToken(String clientToken) { setClientToken(clientToken); return this; } /** ** The job's source files. *
* * @return The job's source files. */ public java.util.List* The job's source files. *
* * @param sources * The job's source files. */ public void setSources(java.util.Collection* The job's source files. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setSources(java.util.Collection)} or {@link #withSources(java.util.Collection)} if you want to override * the existing values. *
* * @param sources * The job's source files. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReferenceImportJobRequest withSources(StartReferenceImportJobSourceItem... sources) { if (this.sources == null) { setSources(new java.util.ArrayList* The job's source files. *
* * @param sources * The job's source files. * @return Returns a reference to this object so that method calls can be chained together. */ public StartReferenceImportJobRequest withSources(java.util.Collection