LocationCapabilitiesInner Class
- java.
lang. Object - com.
azure. resourcemanager. sql. fluent. models. LocationCapabilitiesInner
- com.
Implements
public final class LocationCapabilitiesInner
implements JsonSerializable<LocationCapabilitiesInner>
The location capability.
Constructor Summary
Constructor | Description |
---|---|
LocationCapabilitiesInner() |
Creates an instance of Location |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Location |
fromJson(JsonReader jsonReader)
Reads an instance of Location |
String |
name()
Get the name property: The location 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<Managed |
supportedManagedInstanceVersions()
Get the supported |
List<Server |
supportedServerVersions()
Get the supported |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Location |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
LocationCapabilitiesInner
public LocationCapabilitiesInner()
Creates an instance of LocationCapabilitiesInner class.
Method Details
fromJson
public static LocationCapabilitiesInner fromJson(JsonReader jsonReader)
Reads an instance of LocationCapabilitiesInner from the JsonReader.
Parameters:
Returns:
Throws:
name
public String name()
Get the name property: The location 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:
supportedManagedInstanceVersions
public List
Get the supportedManagedInstanceVersions property: The list of supported managed instance versions.
Returns:
supportedServerVersions
public List
Get the supportedServerVersions property: The list of supported server versions.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public LocationCapabilitiesInner withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java