All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.management.sql.JobStepOutput Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Sql Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 1.41.4
Show newest version
/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License. See License.txt in the project root for
 * license information.
 *
 * Code generated by Microsoft (R) AutoRest Code Generator.
 */

package com.microsoft.azure.management.sql;

import java.util.UUID;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * The output configuration of a job step.
 */
public class JobStepOutput {
    /**
     * The output destination type. Possible values include: 'SqlDatabase'.
     */
    @JsonProperty(value = "type")
    private JobStepOutputType type;

    /**
     * The output destination subscription id.
     */
    @JsonProperty(value = "subscriptionId")
    private UUID subscriptionId;

    /**
     * The output destination resource group.
     */
    @JsonProperty(value = "resourceGroupName")
    private String resourceGroupName;

    /**
     * The output destination server name.
     */
    @JsonProperty(value = "serverName", required = true)
    private String serverName;

    /**
     * The output destination database.
     */
    @JsonProperty(value = "databaseName", required = true)
    private String databaseName;

    /**
     * The output destination schema.
     */
    @JsonProperty(value = "schemaName")
    private String schemaName;

    /**
     * The output destination table.
     */
    @JsonProperty(value = "tableName", required = true)
    private String tableName;

    /**
     * The resource ID of the credential to use to connect to the output
     * destination.
     */
    @JsonProperty(value = "credential", required = true)
    private String credential;

    /**
     * Get the output destination type. Possible values include: 'SqlDatabase'.
     *
     * @return the type value
     */
    public JobStepOutputType type() {
        return this.type;
    }

    /**
     * Set the output destination type. Possible values include: 'SqlDatabase'.
     *
     * @param type the type value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withType(JobStepOutputType type) {
        this.type = type;
        return this;
    }

    /**
     * Get the output destination subscription id.
     *
     * @return the subscriptionId value
     */
    public UUID subscriptionId() {
        return this.subscriptionId;
    }

    /**
     * Set the output destination subscription id.
     *
     * @param subscriptionId the subscriptionId value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withSubscriptionId(UUID subscriptionId) {
        this.subscriptionId = subscriptionId;
        return this;
    }

    /**
     * Get the output destination resource group.
     *
     * @return the resourceGroupName value
     */
    public String resourceGroupName() {
        return this.resourceGroupName;
    }

    /**
     * Set the output destination resource group.
     *
     * @param resourceGroupName the resourceGroupName value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withResourceGroupName(String resourceGroupName) {
        this.resourceGroupName = resourceGroupName;
        return this;
    }

    /**
     * Get the output destination server name.
     *
     * @return the serverName value
     */
    public String serverName() {
        return this.serverName;
    }

    /**
     * Set the output destination server name.
     *
     * @param serverName the serverName value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withServerName(String serverName) {
        this.serverName = serverName;
        return this;
    }

    /**
     * Get the output destination database.
     *
     * @return the databaseName value
     */
    public String databaseName() {
        return this.databaseName;
    }

    /**
     * Set the output destination database.
     *
     * @param databaseName the databaseName value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withDatabaseName(String databaseName) {
        this.databaseName = databaseName;
        return this;
    }

    /**
     * Get the output destination schema.
     *
     * @return the schemaName value
     */
    public String schemaName() {
        return this.schemaName;
    }

    /**
     * Set the output destination schema.
     *
     * @param schemaName the schemaName value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withSchemaName(String schemaName) {
        this.schemaName = schemaName;
        return this;
    }

    /**
     * Get the output destination table.
     *
     * @return the tableName value
     */
    public String tableName() {
        return this.tableName;
    }

    /**
     * Set the output destination table.
     *
     * @param tableName the tableName value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withTableName(String tableName) {
        this.tableName = tableName;
        return this;
    }

    /**
     * Get the resource ID of the credential to use to connect to the output destination.
     *
     * @return the credential value
     */
    public String credential() {
        return this.credential;
    }

    /**
     * Set the resource ID of the credential to use to connect to the output destination.
     *
     * @param credential the credential value to set
     * @return the JobStepOutput object itself.
     */
    public JobStepOutput withCredential(String credential) {
        this.credential = credential;
        return this;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy