Class DesktopInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.desktopvirtualization.fluent.models.DesktopInner
public final class DesktopInner
extends com.azure.core.management.ProxyResource
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.com.azure.core.management.SystemData
Get the systemData property: Metadata pertaining to creation and last modification of the resource.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.Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DesktopInner
public DesktopInner()
-
-
Method Details
-
systemData
public com.azure.core.management.SystemData systemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
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 DesktopInner 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 DesktopInner 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.
-