Package com.azure.core.management
Class Resource
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
The Resource model.
-
Constructor Summary
-
Method Summary
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
Resource
public Resource()Creates an instance ofResource
.
-
-
Method Details
-
location
Get the location value.- Returns:
- the geolocation where the resource live.
-
withLocation
Set the location value.- Parameters:
location
- the geolocation where the resource live.- Returns:
- the resource itself.
-
tags
Get the tags value.- Returns:
- the tags of the resource.
-
withTags
Set the tags value.- Parameters:
tags
- the tags of the resource.- Returns:
- the resource itself.
-