Class JobStepOutput
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.JobStepOutput
-
public final class JobStepOutput extends Object
The output configuration of a job step.
-
-
Constructor Summary
Constructors Constructor Description JobStepOutput()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcredential()Get the credential property: The resource ID of the credential to use to connect to the output destination.StringdatabaseName()Get the databaseName property: The output destination database.StringresourceGroupName()Get the resourceGroupName property: The output destination resource group.StringschemaName()Get the schemaName property: The output destination schema.StringserverName()Get the serverName property: The output destination server name.UUIDsubscriptionId()Get the subscriptionId property: The output destination subscription id.StringtableName()Get the tableName property: The output destination table.JobStepOutputTypetype()Get the type property: The output destination type.voidvalidate()Validates the instance.JobStepOutputwithCredential(String credential)Set the credential property: The resource ID of the credential to use to connect to the output destination.JobStepOutputwithDatabaseName(String databaseName)Set the databaseName property: The output destination database.JobStepOutputwithResourceGroupName(String resourceGroupName)Set the resourceGroupName property: The output destination resource group.JobStepOutputwithSchemaName(String schemaName)Set the schemaName property: The output destination schema.JobStepOutputwithServerName(String serverName)Set the serverName property: The output destination server name.JobStepOutputwithSubscriptionId(UUID subscriptionId)Set the subscriptionId property: The output destination subscription id.JobStepOutputwithTableName(String tableName)Set the tableName property: The output destination table.JobStepOutputwithType(JobStepOutputType type)Set the type property: The output destination type.
-
-
-
Method Detail
-
type
public JobStepOutputType type()
Get the type property: The output destination type.- Returns:
- the type value.
-
withType
public JobStepOutput withType(JobStepOutputType type)
Set the type property: The output destination type.- Parameters:
type- the type value to set.- Returns:
- the JobStepOutput object itself.
-
subscriptionId
public UUID subscriptionId()
Get the subscriptionId property: The output destination subscription id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
public JobStepOutput withSubscriptionId(UUID subscriptionId)
Set the subscriptionId property: The output destination subscription id.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the JobStepOutput object itself.
-
resourceGroupName
public String resourceGroupName()
Get the resourceGroupName property: The output destination resource group.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
public JobStepOutput withResourceGroupName(String resourceGroupName)
Set the resourceGroupName property: The output destination resource group.- Parameters:
resourceGroupName- the resourceGroupName value to set.- Returns:
- the JobStepOutput object itself.
-
serverName
public String serverName()
Get the serverName property: The output destination server name.- Returns:
- the serverName value.
-
withServerName
public JobStepOutput withServerName(String serverName)
Set the serverName property: The output destination server name.- Parameters:
serverName- the serverName value to set.- Returns:
- the JobStepOutput object itself.
-
databaseName
public String databaseName()
Get the databaseName property: The output destination database.- Returns:
- the databaseName value.
-
withDatabaseName
public JobStepOutput withDatabaseName(String databaseName)
Set the databaseName property: The output destination database.- Parameters:
databaseName- the databaseName value to set.- Returns:
- the JobStepOutput object itself.
-
schemaName
public String schemaName()
Get the schemaName property: The output destination schema.- Returns:
- the schemaName value.
-
withSchemaName
public JobStepOutput withSchemaName(String schemaName)
Set the schemaName property: The output destination schema.- Parameters:
schemaName- the schemaName value to set.- Returns:
- the JobStepOutput object itself.
-
tableName
public String tableName()
Get the tableName property: The output destination table.- Returns:
- the tableName value.
-
withTableName
public JobStepOutput withTableName(String tableName)
Set the tableName property: The output destination table.- Parameters:
tableName- the tableName value to set.- Returns:
- the JobStepOutput object itself.
-
credential
public String credential()
Get the credential property: The resource ID of the credential to use to connect to the output destination.- Returns:
- the credential value.
-
withCredential
public JobStepOutput withCredential(String credential)
Set the credential property: The resource ID of the credential to use to connect to the output destination.- Parameters:
credential- the credential value to set.- Returns:
- the JobStepOutput object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-