Class DesktopPatch
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.DesktopPatch
Desktop properties that can be patched.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of Desktop.Get the friendlyName property: Friendly name of Desktop.tags()
Get the tags property: tags to be updated.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.Set the tags property: tags to be updated.
-
Constructor Details
-
DesktopPatch
public DesktopPatch()
-
-
Method Details
-
tags
Get the tags property: tags to be updated.- Returns:
- the tags value.
-
withTags
Set the tags property: tags to be updated.- Parameters:
tags
- the tags value to set.- Returns:
- the DesktopPatch object itself.
-
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 DesktopPatch 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 DesktopPatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-