Class WorkspacePatchProperties
java.lang.Object
com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspacePatchProperties
Workspace properties that can be patched.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of WorkspacePatchProperties class. -
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.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.
-
Constructor Details
-
WorkspacePatchProperties
public WorkspacePatchProperties()Creates an instance of WorkspacePatchProperties class.
-
-
Method Details
-
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 WorkspacePatchProperties 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 WorkspacePatchProperties object itself.
-
applicationGroupReferences
Get the applicationGroupReferences property: List of applicationGroup links.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
public WorkspacePatchProperties withApplicationGroupReferences(List<String> applicationGroupReferences) Set the applicationGroupReferences property: List of applicationGroup links.- Parameters:
applicationGroupReferences- the applicationGroupReferences value to set.- Returns:
- the WorkspacePatchProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-