Class MicrosoftGraphDeviceCategory
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphDeviceCategory
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 Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphDeviceCategory class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: Device categories provides a way to organize your devices.Get the description property: Optional description for the device category.Get the displayName property: Display name for the device category.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: Device categories provides a way to organize your devices.withDescription(String description) Set the description property: Optional description for the device category.withDisplayName(String displayName) Set the displayName property: Display name for the device category.Set the id property: Read-only.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphDeviceCategory
public MicrosoftGraphDeviceCategory()Creates an instance of MicrosoftGraphDeviceCategory class.
-
-
Method Details
-
description
Get the description property: Optional description for the device category.- Returns:
- the description value.
-
withDescription
Set the description property: Optional description for the device category.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphDeviceCategory object itself.
-
displayName
Get the displayName property: Display name for the device category.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: Display name for the device category.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphDeviceCategory object itself.
-
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:
additionalPropertiesin classMicrosoftGraphEntity- 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:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphDeviceCategory object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-