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.
/** * 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.
/** * The output configuration of a job step. */
public class JobStepOutput {
The output destination type. Possible values include: 'SqlDatabase'.
/** * The output destination type. Possible values include: 'SqlDatabase'. */
@JsonProperty(value = "type") private JobStepOutputType type;
The output destination subscription id.
/** * The output destination subscription id. */
@JsonProperty(value = "subscriptionId") private UUID subscriptionId;
The output destination resource group.
/** * The output destination resource group. */
@JsonProperty(value = "resourceGroupName") private String resourceGroupName;
The output destination server name.
/** * The output destination server name. */
@JsonProperty(value = "serverName", required = true) private String serverName;
The output destination database.
/** * The output destination database. */
@JsonProperty(value = "databaseName", required = true) private String databaseName;
The output destination schema.
/** * The output destination schema. */
@JsonProperty(value = "schemaName") private String schemaName;
The output destination table.
/** * 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.
/** * 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'.
Returns:the type value
/** * 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'.
Params:
  • type – the type value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the subscriptionId value
/** * Get the output destination subscription id. * * @return the subscriptionId value */
public UUID subscriptionId() { return this.subscriptionId; }
Set the output destination subscription id.
Params:
  • subscriptionId – the subscriptionId value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the resourceGroupName value
/** * Get the output destination resource group. * * @return the resourceGroupName value */
public String resourceGroupName() { return this.resourceGroupName; }
Set the output destination resource group.
Params:
  • resourceGroupName – the resourceGroupName value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the serverName value
/** * Get the output destination server name. * * @return the serverName value */
public String serverName() { return this.serverName; }
Set the output destination server name.
Params:
  • serverName – the serverName value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the databaseName value
/** * Get the output destination database. * * @return the databaseName value */
public String databaseName() { return this.databaseName; }
Set the output destination database.
Params:
  • databaseName – the databaseName value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the schemaName value
/** * Get the output destination schema. * * @return the schemaName value */
public String schemaName() { return this.schemaName; }
Set the output destination schema.
Params:
  • schemaName – the schemaName value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the tableName value
/** * Get the output destination table. * * @return the tableName value */
public String tableName() { return this.tableName; }
Set the output destination table.
Params:
  • tableName – the tableName value to set
Returns:the JobStepOutput object itself.
/** * 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.
Returns:the credential value
/** * 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.
Params:
  • credential – the credential value to set
Returns:the JobStepOutput object itself.
/** * 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; } }