InstancePoolFamilyCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. InstancePoolFamilyCapability
- com.
Implements
public final class InstancePoolFamilyCapability
implements JsonSerializable<InstancePoolFamilyCapability>
The instance pool family capability.
Constructor Summary
Constructor | Description |
---|---|
InstancePoolFamilyCapability() |
Creates an instance of Instance |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Instance |
fromJson(JsonReader jsonReader)
Reads an instance of Instance |
String |
name()
Get the name property: Family name. |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Capability |
status()
Get the status property: The status of the capability. |
List<License |
supportedLicenseTypes()
Get the supported |
List<Instance |
supportedVcoresValues()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Instance |
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:
Returns:
Throws:
name
public String name()
Get the name property: Family name.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
supportedLicenseTypes
public List
Get the supportedLicenseTypes property: List of supported license types.
Returns:
supportedVcoresValues
public List
Get the supportedVcoresValues property: List of supported virtual cores values.
Returns:
toJson
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:
Returns:
Applies to
Azure SDK for Java