Class MicrosoftGraphLicenseUnitsDetail
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphLicenseUnitsDetail
-
public final class MicrosoftGraphLicenseUnitsDetail extends Object
licenseUnitsDetail.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphLicenseUnitsDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: licenseUnitsDetail.Integer
enabled()
Get the enabled property: The number of units that are enabled.Integer
suspended()
Get the suspended property: The number of units that are suspended.void
validate()
Validates the instance.Integer
warning()
Get the warning property: The number of units that are in warning status.MicrosoftGraphLicenseUnitsDetail
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: licenseUnitsDetail.MicrosoftGraphLicenseUnitsDetail
withEnabled(Integer enabled)
Set the enabled property: The number of units that are enabled.MicrosoftGraphLicenseUnitsDetail
withSuspended(Integer suspended)
Set the suspended property: The number of units that are suspended.MicrosoftGraphLicenseUnitsDetail
withWarning(Integer warning)
Set the warning property: The number of units that are in warning status.
-
-
-
Method Detail
-
enabled
public Integer enabled()
Get the enabled property: The number of units that are enabled.- Returns:
- the enabled value.
-
withEnabled
public MicrosoftGraphLicenseUnitsDetail withEnabled(Integer enabled)
Set the enabled property: The number of units that are enabled.- Parameters:
enabled
- the enabled value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
suspended
public Integer suspended()
Get the suspended property: The number of units that are suspended.- Returns:
- the suspended value.
-
withSuspended
public MicrosoftGraphLicenseUnitsDetail withSuspended(Integer suspended)
Set the suspended property: The number of units that are suspended.- Parameters:
suspended
- the suspended value to set.- Returns:
- the MicrosoftGraphLicenseUnitsDetail object itself.
-
warning
public Integer warning()
Get the warning property: The number of units that are in warning status.- Returns:
- the warning value.
-
withWarning
public MicrosoftGraphLicenseUnitsDetail withWarning(Integer warning)
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
public Map<String,Object> 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.
-
-