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
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
Constructors Constructor Description MicrosoftGraphDeviceCategory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: Device categories provides a way to organize your devices.Stringdescription()Get the description property: Optional description for the device category.StringdisplayName()Get the displayName property: Display name for the device category.voidvalidate()Validates the instance.MicrosoftGraphDeviceCategorywithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: Device categories provides a way to organize your devices.MicrosoftGraphDeviceCategorywithDescription(String description)Set the description property: Optional description for the device category.MicrosoftGraphDeviceCategorywithDisplayName(String displayName)Set the displayName property: Display name for the device category.MicrosoftGraphDeviceCategorywithId(String id)Set the id property: Read-only.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
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:
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
public MicrosoftGraphDeviceCategory withId(String id)
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.
-
-