MinCapacityCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. MinCapacityCapability
- com.
Implements
public final class MinCapacityCapability
implements JsonSerializable<MinCapacityCapability>
The min capacity capability.
Constructor Summary
Constructor | Description |
---|---|
MinCapacityCapability() |
Creates an instance of Min |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Min |
fromJson(JsonReader jsonReader)
Reads an instance of Min |
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. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Double |
value()
Get the value property: Min capacity value. |
Min |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
MinCapacityCapability
public MinCapacityCapability()
Creates an instance of MinCapacityCapability class.
Method Details
fromJson
public static MinCapacityCapability fromJson(JsonReader jsonReader)
Reads an instance of MinCapacityCapability from the JsonReader.
Parameters:
Returns:
Throws:
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:
toJson
validate
public void validate()
Validates the instance.
value
public Double value()
Get the value property: Min capacity value.
Returns:
withReason
public MinCapacityCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java