Class DesktopPatchProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.DesktopPatchProperties
-
public final class DesktopPatchProperties extends Object
Desktop properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description DesktopPatchProperties()
-
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.voidvalidate()Validates the instance.DesktopPatchPropertieswithDescription(String description)Set the description property: Description of Desktop.DesktopPatchPropertieswithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Desktop.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description of Desktop.- Returns:
- the description value.
-
withDescription
public DesktopPatchProperties withDescription(String description)
Set the description property: Description of Desktop.- Parameters:
description- the description value to set.- Returns:
- the DesktopPatchProperties object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Desktop.- Returns:
- the friendlyName value.
-
withFriendlyName
public DesktopPatchProperties withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Desktop.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the DesktopPatchProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-