// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.customerinsights.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** The complete operation. */
@Fluent
public final class ConnectorMappingCompleteOperation {
    /*
     * The type of completion operation.
     */
    @JsonProperty(value = "completionOperationType")
    private CompletionOperationTypes completionOperationType;

    /*
     * The destination folder where files will be moved to once the import is done.
     */
    @JsonProperty(value = "destinationFolder")
    private String destinationFolder;

    /** Creates an instance of ConnectorMappingCompleteOperation class. */
    public ConnectorMappingCompleteOperation() {
    }

    /**
     * Get the completionOperationType property: The type of completion operation.
     *
     * @return the completionOperationType value.
     */
    public CompletionOperationTypes completionOperationType() {
        return this.completionOperationType;
    }

    /**
     * Set the completionOperationType property: The type of completion operation.
     *
     * @param completionOperationType the completionOperationType value to set.
     * @return the ConnectorMappingCompleteOperation object itself.
     */
    public ConnectorMappingCompleteOperation withCompletionOperationType(
        CompletionOperationTypes completionOperationType) {
        this.completionOperationType = completionOperationType;
        return this;
    }

    /**
     * Get the destinationFolder property: The destination folder where files will be moved to once the import is done.
     *
     * @return the destinationFolder value.
     */
    public String destinationFolder() {
        return this.destinationFolder;
    }

    /**
     * Set the destinationFolder property: The destination folder where files will be moved to once the import is done.
     *
     * @param destinationFolder the destinationFolder value to set.
     * @return the ConnectorMappingCompleteOperation object itself.
     */
    public ConnectorMappingCompleteOperation withDestinationFolder(String destinationFolder) {
        this.destinationFolder = destinationFolder;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
