Class JobAgentProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.JobAgentProperties
Properties of a job agent.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the databaseId property: Resource ID of the database to store job metadata in.state()Get the state property: The state of the job agent.voidvalidate()Validates the instance.withDatabaseId(String databaseId) Set the databaseId property: Resource ID of the database to store job metadata in.
-
Constructor Details
-
JobAgentProperties
public JobAgentProperties()Creates an instance of JobAgentProperties class.
-
-
Method Details
-
databaseId
Get the databaseId property: Resource ID of the database to store job metadata in.- Returns:
- the databaseId value.
-
withDatabaseId
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
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.
-