JobExecutionTarget Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. JobExecutionTarget
- com.
Implements
public final class JobExecutionTarget
implements JsonSerializable<JobExecutionTarget>
The target that a job execution is executed on.
Constructor Summary
Constructor | Description |
---|---|
JobExecutionTarget() |
Creates an instance of Job |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
databaseName()
Get the database |
static
Job |
fromJson(JsonReader jsonReader)
Reads an instance of Job |
String |
serverName()
Get the server |
Json |
toJson(JsonWriter jsonWriter) |
Job |
type()
Get the type property: The type of the target. |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
JobExecutionTarget
public JobExecutionTarget()
Creates an instance of JobExecutionTarget class.
Method Details
databaseName
public String databaseName()
Get the databaseName property: The database name.
Returns:
fromJson
public static JobExecutionTarget fromJson(JsonReader jsonReader)
Reads an instance of JobExecutionTarget from the JsonReader.
Parameters:
Returns:
Throws:
serverName
public String serverName()
Get the serverName property: The server name.
Returns:
toJson
type
public JobTargetType type()
Get the type property: The type of the target.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java