MaxSizeRangeCapability Class
- java.
lang. Object - com.
azure. resourcemanager. sql. models. MaxSizeRangeCapability
- com.
Implements
public final class MaxSizeRangeCapability
implements JsonSerializable<MaxSizeRangeCapability>
The maximum size range capability.
Constructor Summary
Constructor | Description |
---|---|
MaxSizeRangeCapability() |
Creates an instance of Max |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Max |
fromJson(JsonReader jsonReader)
Reads an instance of Max |
Log |
logSize()
Get the log |
Max |
maxValue()
Get the max |
Max |
minValue()
Get the min |
String |
reason()
Get the reason property: The reason for the capability not being available. |
Max |
scaleSize()
Get the scale |
Capability |
status()
Get the status property: The status of the capability. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Max |
withReason(String reason)
Set the reason property: The reason for the capability not being available. |
Methods inherited from java.lang.Object
Constructor Details
MaxSizeRangeCapability
public MaxSizeRangeCapability()
Creates an instance of MaxSizeRangeCapability class.
Method Details
fromJson
public static MaxSizeRangeCapability fromJson(JsonReader jsonReader)
Reads an instance of MaxSizeRangeCapability from the JsonReader.
Parameters:
Returns:
Throws:
logSize
public LogSizeCapability logSize()
Get the logSize property: Size of transaction log.
Returns:
maxValue
public MaxSizeCapability maxValue()
Get the maxValue property: Maximum value.
Returns:
minValue
public MaxSizeCapability minValue()
Get the minValue property: Minimum value.
Returns:
reason
public String reason()
Get the reason property: The reason for the capability not being available.
Returns:
scaleSize
public MaxSizeCapability scaleSize()
Get the scaleSize property: Scale/step size for discrete values between the minimum value and the maximum value.
Returns:
status
public CapabilityStatus status()
Get the status property: The status of the capability.
Returns:
toJson
validate
public void validate()
Validates the instance.
withReason
public MaxSizeRangeCapability withReason(String reason)
Set the reason property: The reason for the capability not being available.
Parameters:
Returns:
Applies to
Azure SDK for Java