Class DesktopPatch
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.DesktopPatch
-
public final class DesktopPatch extends Object
Desktop properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description DesktopPatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of Desktop.StringfriendlyName()Get the friendlyName property: Friendly name of Desktop.Map<String,String>tags()Get the tags property: tags to be updated.voidvalidate()Validates the instance.DesktopPatchwithDescription(String description)Set the description property: Description of Desktop.DesktopPatchwithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Desktop.DesktopPatchwithTags(Map<String,String> tags)Set the tags property: tags to be updated.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: tags to be updated.- Returns:
- the tags value.
-
withTags
public DesktopPatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.- Parameters:
tags- the tags value to set.- Returns:
- the DesktopPatch object itself.
-
description
public String description()
Get the description property: Description of Desktop.- Returns:
- the description value.
-
withDescription
public DesktopPatch withDescription(String description)
Set the description property: Description of Desktop.- Parameters:
description- the description value to set.- Returns:
- the DesktopPatch object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Desktop.- Returns:
- the friendlyName value.
-
withFriendlyName
public DesktopPatch withFriendlyName(String friendlyName)
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.
-
-