InstancePoolEditionCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. InstancePoolEditionCapability
- com.
Implements
public final class InstancePoolEditionCapability
implements JsonSerializable<InstancePoolEditionCapability>
The instance pool capability.
Constructor Summary
Constructor | Description |
---|---|
InstancePoolEditionCapability() |
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: The instance pool version 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<Instance |
supportedFamilies()
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
InstancePoolEditionCapability
public InstancePoolEditionCapability()
Creates an instance of InstancePoolEditionCapability class.
Method Details
fromJson
public static InstancePoolEditionCapability fromJson(JsonReader jsonReader)
Reads an instance of InstancePoolEditionCapability from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The instance pool version 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:
supportedFamilies
public List
Get the supportedFamilies property: The supported families.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public InstancePoolEditionCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java