public final class TrackedResource
extends com.azure.core.management.ProxyResource
| Constructor and Description |
|---|
TrackedResource() |
| Modifier and Type | Method and Description |
|---|---|
String |
location()
Get the location property: Resource location.
|
Map<String,String> |
tags()
Get the tags property: Resource tags.
|
void |
validate()
Validates the instance.
|
TrackedResource |
withLocation(String location)
Set the location property: Resource location.
|
TrackedResource |
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
|
public String location()
public TrackedResource withLocation(String location)
location - the location value to set.public Map<String,String> tags()
public TrackedResource withTags(Map<String,String> tags)
tags - the tags value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.