Class DesktopProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.DesktopProperties
Schema for Desktop properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of Desktop.Get the friendlyName property: Friendly name of Desktop.byte[]
Get the iconContent property: The icon a 64 bit string as a byte array.iconHash()
Get the iconHash property: Hash of the icon.objectId()
Get the objectId property: ObjectId of Desktop.void
validate()
Validates the instance.withDescription
(String description) Set the description property: Description of Desktop.withFriendlyName
(String friendlyName) Set the friendlyName property: Friendly name of Desktop.
-
Constructor Details
-
DesktopProperties
public DesktopProperties()
-
-
Method Details
-
objectId
Get the objectId property: ObjectId of Desktop. (internal use).- Returns:
- the objectId value.
-
description
Get the description property: Description of Desktop.- Returns:
- the description value.
-
withDescription
Set the description property: Description of Desktop.- Parameters:
description
- the description value to set.- Returns:
- the DesktopProperties object itself.
-
friendlyName
Get the friendlyName property: Friendly name of Desktop.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of Desktop.- Parameters:
friendlyName
- the friendlyName value to set.- Returns:
- the DesktopProperties object itself.
-
iconHash
Get the iconHash property: Hash of the icon.- Returns:
- the iconHash value.
-
iconContent
public byte[] iconContent()Get the iconContent property: The icon a 64 bit string as a byte array.- Returns:
- the iconContent value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-