Class WorkspacePatch
- java.lang.Object
-
- com.azure.resourcemanager.desktopvirtualization.models.WorkspacePatch
-
public final class WorkspacePatch extends Object
Workspace properties that can be patched.
-
-
Constructor Summary
Constructors Constructor Description WorkspacePatch()
-
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.Map<String,String>tags()Get the tags property: tags to be updated.voidvalidate()Validates the instance.WorkspacePatchwithApplicationGroupReferences(List<String> applicationGroupReferences)Set the applicationGroupReferences property: List of applicationGroup links.WorkspacePatchwithDescription(String description)Set the description property: Description of Workspace.WorkspacePatchwithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of Workspace.WorkspacePatchwithPublicNetworkAccess(PublicNetworkAccess publicNetworkAccess)Set the publicNetworkAccess property: Enabled to allow this resource to be access from the public network.WorkspacePatchwithTags(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 WorkspacePatch withTags(Map<String,String> tags)
Set the tags property: tags to be updated.- Parameters:
tags- the tags value to set.- Returns:
- the WorkspacePatch object itself.
-
description
public String description()
Get the description property: Description of Workspace.- Returns:
- the description value.
-
withDescription
public WorkspacePatch withDescription(String description)
Set the description property: Description of Workspace.- Parameters:
description- the description value to set.- Returns:
- the WorkspacePatch object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of Workspace.- Returns:
- the friendlyName value.
-
withFriendlyName
public WorkspacePatch withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of Workspace.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the WorkspacePatch object itself.
-
applicationGroupReferences
public List<String> applicationGroupReferences()
Get the applicationGroupReferences property: List of applicationGroup links.- Returns:
- the applicationGroupReferences value.
-
withApplicationGroupReferences
public WorkspacePatch withApplicationGroupReferences(List<String> applicationGroupReferences)
Set the applicationGroupReferences property: List of applicationGroup links.- Parameters:
applicationGroupReferences- the applicationGroupReferences value to set.- Returns:
- the WorkspacePatch 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 WorkspacePatch 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 WorkspacePatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-