public final class ServerVersionCapability extends Object
| Constructor and Description |
|---|
ServerVersionCapability() |
| Modifier and Type | Method and Description |
|---|---|
String |
name()
Get the name property: The server version 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<EditionCapability> |
supportedEditions()
Get the supportedEditions property: The list of supported database editions.
|
List<ElasticPoolEditionCapability> |
supportedElasticPoolEditions()
Get the supportedElasticPoolEditions property: The list of supported elastic pool editions.
|
void |
validate()
Validates the instance.
|
ServerVersionCapability |
withReason(String reason)
Set the reason property: The reason for the capability not being available.
|
public String name()
public List<EditionCapability> supportedEditions()
public List<ElasticPoolEditionCapability> supportedElasticPoolEditions()
public CapabilityStatus status()
public String reason()
public ServerVersionCapability withReason(String reason)
reason - the reason value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.