Class MinCapacityCapability
java.lang.Object
com.azure.resourcemanager.sql.models.MinCapacityCapability
The min capacity capability.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreason()Get the reason property: The reason for the capability not being available.status()Get the status property: The status of the capability.voidvalidate()Validates the instance.value()Get the value property: Min capacity value.withReason(String reason) Set the reason property: The reason for the capability not being available.
-
Constructor Details
-
MinCapacityCapability
public MinCapacityCapability()Creates an instance of MinCapacityCapability class.
-
-
Method Details
-
value
Get the value property: Min capacity value.- Returns:
- the value value.
-
status
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
Set the reason property: The reason for the capability not being available.- Parameters:
reason- the reason value to set.- Returns:
- the MinCapacityCapability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-