InstancePoolFamilyCapability Class

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

Implements

public final class InstancePoolFamilyCapability
implements JsonSerializable<InstancePoolFamilyCapability>

The instance pool family capability.

Constructor Summary

Constructor Description
InstancePoolFamilyCapability()

Creates an instance of InstancePoolFamilyCapability class.

Method Summary

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

Reads an instance of InstancePoolFamilyCapability from the JsonReader.

String name()

Get the name property: Family 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<LicenseTypeCapability> supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

List<InstancePoolVcoresCapability> supportedVcoresValues()

Get the supportedVcoresValues property: List of supported virtual cores values.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

InstancePoolFamilyCapability withReason(String reason)

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

Methods inherited from java.lang.Object

Constructor Details

InstancePoolFamilyCapability

public InstancePoolFamilyCapability()

Creates an instance of InstancePoolFamilyCapability class.

Method Details

fromJson

public static InstancePoolFamilyCapability fromJson(JsonReader jsonReader)

Reads an instance of InstancePoolFamilyCapability from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: Family 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.

supportedLicenseTypes

public List supportedLicenseTypes()

Get the supportedLicenseTypes property: List of supported license types.

Returns:

the supportedLicenseTypes value.

supportedVcoresValues

public List supportedVcoresValues()

Get the supportedVcoresValues property: List of supported virtual cores values.

Returns:

the supportedVcoresValues value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withReason

public InstancePoolFamilyCapability withReason(String reason)

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

Parameters:

reason - the reason value to set.

Returns:

the InstancePoolFamilyCapability object itself.

Applies to