Class LicenseTypeCapability
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.LicenseTypeCapability
-
public final class LicenseTypeCapability extends Object
The license type capability.
-
-
Constructor Summary
Constructors Constructor Description LicenseTypeCapability()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringname()Get the name property: License type identifier.Stringreason()Get the reason property: The reason for the capability not being available.CapabilityStatusstatus()Get the status property: The status of the capability.voidvalidate()Validates the instance.LicenseTypeCapabilitywithReason(String reason)Set the reason property: The reason for the capability not being available.
-
-
-
Method Detail
-
name
public String name()
Get the name property: License type identifier.- Returns:
- the name value.
-
status
public CapabilityStatus status()
Get the status property: The status of the capability.- Returns:
- the status value.
-
reason
public String reason()
Get the reason property: The reason for the capability not being available.- Returns:
- the reason value.
-
withReason
public LicenseTypeCapability withReason(String reason)
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.
-
-