Class JobAgentProperties

java.lang.Object
com.azure.resourcemanager.sql.fluent.models.JobAgentProperties

public final class JobAgentProperties extends Object
Properties of a job agent.
  • Constructor Details

    • JobAgentProperties

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

    • databaseId

      public String databaseId()
      Get the databaseId property: Resource ID of the database to store job metadata in.
      Returns:
      the databaseId value.
    • withDatabaseId

      public JobAgentProperties withDatabaseId(String databaseId)
      Set the databaseId property: Resource ID of the database to store job metadata in.
      Parameters:
      databaseId - the databaseId value to set.
      Returns:
      the JobAgentProperties object itself.
    • state

      public JobAgentState state()
      Get the state property: The state of the job agent.
      Returns:
      the state value.
    • validate

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