Package com.azure.core.management
Class Resource
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
public class Resource extends ProxyResource
The Resource model.
-
-
Constructor Summary
Constructors Constructor Description Resource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringlocation()Get the location value.Map<String,String>tags()Get the tags value.ResourcewithLocation(String location)Set the location value.ResourcewithTags(Map<String,String> tags)Set the tags value.-
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
-
-
-
Method Detail
-
location
public String location()
Get the location value.- Returns:
- the geo-location where the resource live.
-
withLocation
public Resource withLocation(String location)
Set the location value.- Parameters:
location- the geo-location where the resource live.- Returns:
- the resource itself.
-
-