JobAgentEditionCapability Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.models.JobAgentEditionCapability

Implements

public final class JobAgentEditionCapability
implements JsonSerializable<JobAgentEditionCapability>

The job agent edition capability.

Method Summary

Modifier and Type Method and Description
static JobAgentEditionCapability fromJson(JsonReader jsonReader)

Reads an instance of JobAgentEditionCapability from the JsonReader.

String name()

Get the name property: The job agent edition name.

String reason()

Get the reason property: The reason for the capability not being available.

CapabilityStatus status()

Get the status property: The status of the capability.

List<JobAgentServiceLevelObjectiveCapability> supportedServiceLevelObjectives()

Get the supportedServiceLevelObjectives property: The list of supported service level objectives for the edition.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static JobAgentEditionCapability fromJson(JsonReader jsonReader)

Reads an instance of JobAgentEditionCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of JobAgentEditionCapability if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the JobAgentEditionCapability.

name

public String name()

Get the name property: The job agent edition name.

Returns:

the name value.

reason

public String reason()

Get the reason property: The reason for the capability not being available.

Returns:

the reason value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

supportedServiceLevelObjectives

public List<JobAgentServiceLevelObjectiveCapability> supportedServiceLevelObjectives()

Get the supportedServiceLevelObjectives property: The list of supported service level objectives for the edition.

Returns:

the supportedServiceLevelObjectives value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to