Compartilhar via


PerformanceLevelCapability Class

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

Implements

public final class PerformanceLevelCapability
implements JsonSerializable<PerformanceLevelCapability>

The performance level capability.

Constructor Summary

Constructor Description
PerformanceLevelCapability()

Creates an instance of PerformanceLevelCapability class.

Method Summary

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

Reads an instance of PerformanceLevelCapability from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
PerformanceLevelUnit unit()

Get the unit property: Unit type used to measure performance level.

void validate()

Validates the instance.

Double value()

Get the value property: Performance level value.

Methods inherited from java.lang.Object

Constructor Details

PerformanceLevelCapability

public PerformanceLevelCapability()

Creates an instance of PerformanceLevelCapability class.

Method Details

fromJson

public static PerformanceLevelCapability fromJson(JsonReader jsonReader)

Reads an instance of PerformanceLevelCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of PerformanceLevelCapability 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 PerformanceLevelCapability.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

unit

public PerformanceLevelUnit unit()

Get the unit property: Unit type used to measure performance level.

Returns:

the unit value.

validate

public void validate()

Validates the instance.

value

public Double value()

Get the value property: Performance level value.

Returns:

the value value.

Applies to