Class JobExecutionTarget

java.lang.Object
com.azure.resourcemanager.sql.models.JobExecutionTarget

public final class JobExecutionTarget extends Object
The target that a job execution is executed on.
  • Constructor Details

    • JobExecutionTarget

      public JobExecutionTarget()
      Creates an instance of JobExecutionTarget class.
  • Method Details

    • type

      public JobTargetType type()
      Get the type property: The type of the target.
      Returns:
      the type value.
    • serverName

      public String serverName()
      Get the serverName property: The server name.
      Returns:
      the serverName value.
    • databaseName

      public String databaseName()
      Get the databaseName property: The database name.
      Returns:
      the databaseName value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.