MaxLimitRangeCapability Class

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

Implements

public final class MaxLimitRangeCapability
implements JsonSerializable<MaxLimitRangeCapability>

The maximum limit range capability.

Method Summary

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

Reads an instance of MaxLimitRangeCapability from the JsonReader.

Long maxValue()

Get the maxValue property: Maximum value.

Long minValue()

Get the minValue property: Minimum value.

String reason()

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

Long scaleSize()

Get the scaleSize property: Scale/step size for discrete values between the minimum value and the maximum value.

CapabilityStatus status()

Get the status property: The status of the capability.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static MaxLimitRangeCapability fromJson(JsonReader jsonReader)

Reads an instance of MaxLimitRangeCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

maxValue

public Long maxValue()

Get the maxValue property: Maximum value.

Returns:

the maxValue value.

minValue

public Long minValue()

Get the minValue property: Minimum value.

Returns:

the minValue value.

reason

public String reason()

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

Returns:

the reason value.

scaleSize

public Long scaleSize()

Get the scaleSize property: Scale/step size for discrete values between the minimum value and the maximum value.

Returns:

the scaleSize value.

status

public CapabilityStatus status()

Get the status property: The status of the capability.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to