Class MicrosoftGraphDeviceCategory

java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceCategory

public final class MicrosoftGraphDeviceCategory extends MicrosoftGraphEntity
deviceCategory

Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.

  • Constructor Details

    • MicrosoftGraphDeviceCategory

      public MicrosoftGraphDeviceCategory()
      Creates an instance of MicrosoftGraphDeviceCategory class.
  • Method Details

    • description

      public String description()
      Get the description property: Optional description for the device category.
      Returns:
      the description value.
    • withDescription

      public MicrosoftGraphDeviceCategory withDescription(String description)
      Set the description property: Optional description for the device category.
      Parameters:
      description - the description value to set.
      Returns:
      the MicrosoftGraphDeviceCategory object itself.
    • displayName

      public String displayName()
      Get the displayName property: Display name for the device category.
      Returns:
      the displayName value.
    • withDisplayName

      public MicrosoftGraphDeviceCategory withDisplayName(String displayName)
      Set the displayName property: Display name for the device category.
      Parameters:
      displayName - the displayName value to set.
      Returns:
      the MicrosoftGraphDeviceCategory object itself.
    • additionalProperties

      public Map<String,Object> additionalProperties()
      Get the additionalProperties property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
      Overrides:
      additionalProperties in class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphDeviceCategory withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: Device categories provides a way to organize your devices. Using device categories, company administrators can define their own categories that make sense to their company. These categories can then be applied to a device in the Intune Azure console or selected by a user during device enrollment. You can filter reports and create dynamic Azure Active Directory device groups based on device categories.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphDeviceCategory object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.