/* * 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 StartAnnotationImportJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable, SignerTypeAware { /** *
* A destination annotation store for the job. *
*/ private String destinationName; /** ** A service role for the job. *
*/ private String roleArn; /** ** Items to import. *
*/ private java.util.List* Formatting options for the annotation file. *
*/ private FormatOptions formatOptions; /** ** The job's left normalization setting. *
*/ private Boolean runLeftNormalization; /** ** The annotation schema generated by the parsed annotation data. *
*/ private java.util.Map* A destination annotation store for the job. *
* * @param destinationName * A destination annotation store for the job. */ public void setDestinationName(String destinationName) { this.destinationName = destinationName; } /** ** A destination annotation store for the job. *
* * @return A destination annotation store for the job. */ public String getDestinationName() { return this.destinationName; } /** ** A destination annotation store for the job. *
* * @param destinationName * A destination annotation store for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withDestinationName(String destinationName) { setDestinationName(destinationName); 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 StartAnnotationImportJobRequest withRoleArn(String roleArn) { setRoleArn(roleArn); return this; } /** ** Items to import. *
* * @return Items to import. */ public java.util.List* Items to import. *
* * @param items * Items to import. */ public void setItems(java.util.Collection* Items to import. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setItems(java.util.Collection)} or {@link #withItems(java.util.Collection)} if you want to override the * existing values. *
* * @param items * Items to import. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withItems(AnnotationImportItemSource... items) { if (this.items == null) { setItems(new java.util.ArrayList* Items to import. *
* * @param items * Items to import. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withItems(java.util.Collection* Formatting options for the annotation file. *
* * @param formatOptions * Formatting options for the annotation file. */ public void setFormatOptions(FormatOptions formatOptions) { this.formatOptions = formatOptions; } /** ** Formatting options for the annotation file. *
* * @return Formatting options for the annotation file. */ public FormatOptions getFormatOptions() { return this.formatOptions; } /** ** Formatting options for the annotation file. *
* * @param formatOptions * Formatting options for the annotation file. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withFormatOptions(FormatOptions formatOptions) { setFormatOptions(formatOptions); return this; } /** ** The job's left normalization setting. *
* * @param runLeftNormalization * The job's left normalization setting. */ public void setRunLeftNormalization(Boolean runLeftNormalization) { this.runLeftNormalization = runLeftNormalization; } /** ** The job's left normalization setting. *
* * @return The job's left normalization setting. */ public Boolean getRunLeftNormalization() { return this.runLeftNormalization; } /** ** The job's left normalization setting. *
* * @param runLeftNormalization * The job's left normalization setting. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withRunLeftNormalization(Boolean runLeftNormalization) { setRunLeftNormalization(runLeftNormalization); return this; } /** ** The job's left normalization setting. *
* * @return The job's left normalization setting. */ public Boolean isRunLeftNormalization() { return this.runLeftNormalization; } /** ** The annotation schema generated by the parsed annotation data. *
* * @return The annotation schema generated by the parsed annotation data. */ public java.util.Map* The annotation schema generated by the parsed annotation data. *
* * @param annotationFields * The annotation schema generated by the parsed annotation data. */ public void setAnnotationFields(java.util.Map* The annotation schema generated by the parsed annotation data. *
* * @param annotationFields * The annotation schema generated by the parsed annotation data. * @return Returns a reference to this object so that method calls can be chained together. */ public StartAnnotationImportJobRequest withAnnotationFields(java.util.Map