public final class ReadScaleCapability extends Object
| Constructor and Description |
|---|
ReadScaleCapability() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
maxNumberOfReplicas()
Get the maxNumberOfReplicas property: The maximum number of read scale replicas.
|
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.
|
void |
validate()
Validates the instance.
|
ReadScaleCapability |
withReason(String reason)
Set the reason property: The reason for the capability not being available.
|
public Integer maxNumberOfReplicas()
public CapabilityStatus status()
public String reason()
public ReadScaleCapability 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.