Class WorkspacePatchProperties
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.WorkspacePatchProperties
-
public final class WorkspacePatchProperties extends Object
Workspace properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description WorkspacePatchProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>applicationGroupReferences()Get the applicationGroupReferences property: List of applicationGroup links.Stringdescription()Get the description property: Description of Workspace.StringfriendlyName()Get the friendlyName property: Friendly name of Workspace.PublicNetworkAccesspublicNetworkAccess()Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.voidvalidate()Validates the instance.WorkspacePatchPropertieswithApplicationGroupReferences(List<String> applicationGroupReferences)Set the applicationGroupReferences property: List of applicationGroup links.WorkspacePatchPropertieswithDescription(String description)Set the description property: Description of Workspace.WorkspacePatchPropertieswithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Workspace.WorkspacePatchPropertieswithPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description of Workspace.- Returns:
- the description value.
-
withDescription
public WorkspacePatchProperties withDescription(String description)
Set the description property: Description of Workspace.- Parameters:
description- the description value to set.- Returns:
- the WorkspacePatchProperties object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
public WorkspacePatchProperties withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Workspace.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the WorkspacePatchProperties object itself.
-
applicationGroupReferences
public List<String> 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.
-
publicNetworkAccess
public PublicNetworkAccess publicNetworkAccess()
Get the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.- Returns:
- the publicNetworkAccess value.
-
withPublicNetworkAccess
public WorkspacePatchProperties withPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)
Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.- Parameters:
publicNetworkAccess- the publicNetworkAccess value to set.- Returns:
- the WorkspacePatchProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-