Class WorkspacePatch
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.models.WorkspacePatch
Workspace properties that can be patched.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the applicationGroupReferences property: List of applicationGroup links.Get the description property: Description of Workspace.Get the friendlyName property: Friendly name of Workspace.tags()Get the tags property: tags to be updated.voidvalidate()Validates the instance.withApplicationGroupReferences(List<String> applicationGroupReferences) Set the applicationGroupReferences property: List of applicationGroup links.withDescription(String description) Set the description property: Description of Workspace.withFriendlyName(String friendlyName) Set the friendlyName property: Friendly name of Workspace.Set the tags property: tags to be updated.
-
Constructor Details
-
WorkspacePatch
public WorkspacePatch()Creates an instance of WorkspacePatch class.
-
-
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 WorkspacePatch object itself.
-
description
Get the description property: Description of Workspace.- Returns:
- the description value.
-
withDescription
Set the description property: Description of Workspace.- Parameters:
description- the description value to set.- Returns:
- the WorkspacePatch object itself.
-
friendlyName
Get the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
Set the friendlyName property: Friendly name of Workspace.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the WorkspacePatch object itself.
-
applicationGroupReferences
Get the applicationGroupReferences property: List of applicationGroup links.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
Set the applicationGroupReferences property: List of applicationGroup links.- Parameters:
applicationGroupReferences- the applicationGroupReferences value to set.- Returns:
- the WorkspacePatch object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-