Class JobStepOutput
java.lang.Object
com.azure.resourcemanager.sql.models.JobStepOutput
- All Implemented Interfaces:
com.azure.json.JsonSerializable<JobStepOutput>
public final class JobStepOutput
extends Object
implements com.azure.json.JsonSerializable<JobStepOutput>
The output configuration of a job step.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the credential property: The resource ID of the credential to use to connect to the output destination.Get the databaseName property: The output destination database.static JobStepOutputfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of JobStepOutput from the JsonReader.Get the resourceGroupName property: The output destination resource group.Get the schemaName property: The output destination schema.Get the serverName property: The output destination server name.Get the subscriptionId property: The output destination subscription id.Get the tableName property: The output destination table.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) type()Get the type property: The output destination type.voidvalidate()Validates the instance.withCredential(String credential) Set the credential property: The resource ID of the credential to use to connect to the output destination.withDatabaseName(String databaseName) Set the databaseName property: The output destination database.withResourceGroupName(String resourceGroupName) Set the resourceGroupName property: The output destination resource group.withSchemaName(String schemaName) Set the schemaName property: The output destination schema.withServerName(String serverName) Set the serverName property: The output destination server name.withSubscriptionId(UUID subscriptionId) Set the subscriptionId property: The output destination subscription id.withTableName(String tableName) Set the tableName property: The output destination table.withType(JobStepOutputType type) Set the type property: The output destination type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
JobStepOutput
public JobStepOutput()Creates an instance of JobStepOutput class.
-
-
Method Details
-
type
Get the type property: The output destination type.- Returns:
- the type value.
-
withType
Set the type property: The output destination type.- Parameters:
type- the type value to set.- Returns:
- the JobStepOutput object itself.
-
subscriptionId
Get the subscriptionId property: The output destination subscription id.- Returns:
- the subscriptionId value.
-
withSubscriptionId
Set the subscriptionId property: The output destination subscription id.- Parameters:
subscriptionId- the subscriptionId value to set.- Returns:
- the JobStepOutput object itself.
-
resourceGroupName
Get the resourceGroupName property: The output destination resource group.- Returns:
- the resourceGroupName value.
-
withResourceGroupName
Set the resourceGroupName property: The output destination resource group.- Parameters:
resourceGroupName- the resourceGroupName value to set.- Returns:
- the JobStepOutput object itself.
-
serverName
Get the serverName property: The output destination server name.- Returns:
- the serverName value.
-
withServerName
Set the serverName property: The output destination server name.- Parameters:
serverName- the serverName value to set.- Returns:
- the JobStepOutput object itself.
-
databaseName
Get the databaseName property: The output destination database.- Returns:
- the databaseName value.
-
withDatabaseName
Set the databaseName property: The output destination database.- Parameters:
databaseName- the databaseName value to set.- Returns:
- the JobStepOutput object itself.
-
schemaName
Get the schemaName property: The output destination schema.- Returns:
- the schemaName value.
-
withSchemaName
Set the schemaName property: The output destination schema.- Parameters:
schemaName- the schemaName value to set.- Returns:
- the JobStepOutput object itself.
-
tableName
Get the tableName property: The output destination table.- Returns:
- the tableName value.
-
withTableName
Set the tableName property: The output destination table.- Parameters:
tableName- the tableName value to set.- Returns:
- the JobStepOutput object itself.
-
credential
Get the credential property: The resource ID of the credential to use to connect to the output destination.- Returns:
- the credential value.
-
withCredential
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.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<JobStepOutput>- Throws:
IOException
-
fromJson
Reads an instance of JobStepOutput from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of JobStepOutput if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException- If the deserialized JSON object was missing any required properties.IOException- If an error occurs while reading the JobStepOutput.
-