Class LicenseTypeCapability
java.lang.Object
com.azure.resourcemanager.sql.models.LicenseTypeCapability
The license type capability.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionname()Get the name property: License type identifier.reason()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.withReason(String reason) Set the reason property: The reason for the capability not being available.
-
Constructor Details
-
LicenseTypeCapability
public LicenseTypeCapability()Creates an instance of LicenseTypeCapability class.
-
-
Method Details
-
name
Get the name property: License type identifier.- Returns:
- the name 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 LicenseTypeCapability object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-