/* * 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 StartVariantImportJobRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable, SignerTypeAware { /** *
* The destination variant store for the job. *
*/ private String destinationName; /** ** A service role for the job. *
*/ private String roleArn; /** ** Items to import. *
*/ private java.util.List* The job's left normalization setting. *
*/ private Boolean runLeftNormalization; /** ** The annotation schema generated by the parsed annotation data. *
*/ private java.util.Map* The destination variant store for the job. *
* * @param destinationName * The destination variant store for the job. */ public void setDestinationName(String destinationName) { this.destinationName = destinationName; } /** ** The destination variant store for the job. *
* * @return The destination variant store for the job. */ public String getDestinationName() { return this.destinationName; } /** ** The destination variant store for the job. *
* * @param destinationName * The destination variant store for the job. * @return Returns a reference to this object so that method calls can be chained together. */ public StartVariantImportJobRequest 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 StartVariantImportJobRequest 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 StartVariantImportJobRequest withItems(VariantImportItemSource... 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 StartVariantImportJobRequest withItems(java.util.Collection* 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 StartVariantImportJobRequest 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 StartVariantImportJobRequest withAnnotationFields(java.util.Map