FreeLimitExhaustionBehaviorCapability Class

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

Implements

public final class FreeLimitExhaustionBehaviorCapability
implements JsonSerializable<FreeLimitExhaustionBehaviorCapability>

Supported free limit exhaustion behavior options.

Method Summary

Modifier and Type Method and Description
FreeLimitExhaustionBehavior exhaustionBehaviorType()

Get the exhaustionBehaviorType property: Free limit exhaustion behavior type.

static FreeLimitExhaustionBehaviorCapability fromJson(JsonReader jsonReader)

Reads an instance of FreeLimitExhaustionBehaviorCapability from the JsonReader.

CapabilityStatus status()

Get the status property: Free limit exhaustion behavior status.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

exhaustionBehaviorType

public FreeLimitExhaustionBehavior exhaustionBehaviorType()

Get the exhaustionBehaviorType property: Free limit exhaustion behavior type.

Returns:

the exhaustionBehaviorType value.

fromJson

public static FreeLimitExhaustionBehaviorCapability fromJson(JsonReader jsonReader)

Reads an instance of FreeLimitExhaustionBehaviorCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public CapabilityStatus status()

Get the status property: Free limit exhaustion behavior status.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to