Class MicrosoftGraphLicenseUnitsDetail
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseUnitsDetail
licenseUnitsDetail.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphLicenseUnitsDetail class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: licenseUnitsDetail.enabled()Get the enabled property: The number of units that are enabled.Get the suspended property: The number of units that are suspended.voidvalidate()Validates the instance.warning()Get the warning property: The number of units that are in warning status.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: licenseUnitsDetail.withEnabled(Integer enabled) Set the enabled property: The number of units that are enabled.withSuspended(Integer suspended) Set the suspended property: The number of units that are suspended.withWarning(Integer warning) Set the warning property: The number of units that are in warning status.
-
Constructor Details
-
MicrosoftGraphLicenseUnitsDetail
public MicrosoftGraphLicenseUnitsDetail()Creates an instance of MicrosoftGraphLicenseUnitsDetail class.
-
-
Method Details
-
enabled
Get the enabled property: The number of units that are enabled.- Returns:
- the enabled value.
-
withEnabled
Set the enabled property: The number of units that are enabled.- Parameters:
enabled- the enabled value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
suspended
Get the suspended property: The number of units that are suspended.- Returns:
- the suspended value.
-
withSuspended
Set the suspended property: The number of units that are suspended.- Parameters:
suspended- the suspended value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
warning
Get the warning property: The number of units that are in warning status.- Returns:
- the warning value.
-
withWarning
Set the warning property: The number of units that are in warning status.- Parameters:
warning- the warning value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
additionalProperties
Get the additionalProperties property: licenseUnitsDetail.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphLicenseUnitsDetail withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: licenseUnitsDetail.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-