Class WorkspaceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.healthcareapis.models.ResourceCore
-
- com.azure.resourcemanager.healthcareapis.models.LocationBasedResource
-
- com.azure.resourcemanager.healthcareapis.models.TaggedResource
-
- com.azure.resourcemanager.healthcareapis.fluent.models.WorkspaceInner
-
public final class WorkspaceInner extends TaggedResource
Workspace resource.
-
-
Constructor Summary
Constructors Constructor Description WorkspaceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkspaceProperties
properties()
Get the properties property: Workspaces resource specific properties.com.azure.core.management.SystemData
systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.void
validate()
Validates the instance.WorkspaceInner
withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.WorkspaceInner
withLocation(String location)
Set the location property: The resource location.WorkspaceInner
withProperties(WorkspaceProperties properties)
Set the properties property: Workspaces resource specific properties.WorkspaceInner
withTags(Map<String,String> tags)
Set the tags property: Resource tags.-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.TaggedResource
tags
-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.LocationBasedResource
location
-
Methods inherited from class com.azure.resourcemanager.healthcareapis.models.ResourceCore
etag
-
-
-
-
Method Detail
-
properties
public WorkspaceProperties properties()
Get the properties property: Workspaces resource specific properties.- Returns:
- the properties value.
-
withProperties
public WorkspaceInner withProperties(WorkspaceProperties properties)
Set the properties property: Workspaces resource specific properties.- Parameters:
properties
- the properties value to set.- Returns:
- the WorkspaceInner object itself.
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withTags
public WorkspaceInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Overrides:
withTags
in classTaggedResource
- Parameters:
tags
- the tags value to set.- Returns:
- the TaggedResource object itself.
-
withLocation
public WorkspaceInner withLocation(String location)
Set the location property: The resource location.- Overrides:
withLocation
in classTaggedResource
- Parameters:
location
- the location value to set.- Returns:
- the LocationBasedResource object itself.
-
withEtag
public WorkspaceInner withEtag(String etag)
Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.- Overrides:
withEtag
in classTaggedResource
- Parameters:
etag
- the etag value to set.- Returns:
- the ResourceCore object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classTaggedResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-