TrackedResourceUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. TrackedResourceUpdate
- com.
Implements
public class TrackedResourceUpdate
implements JsonSerializable<TrackedResourceUpdate>
Base tracked resource type for PATCH updates.
Constructor Summary
| Constructor | Description |
|---|---|
| TrackedResourceUpdate() |
Creates an instance of Tracked |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Tracked |
fromJson(JsonReader jsonReader)
Reads an instance of Tracked |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Tracked |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Tracked |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
TrackedResourceUpdate
public TrackedResourceUpdate()
Creates an instance of TrackedResourceUpdate class.
Method Details
fromJson
public static TrackedResourceUpdate fromJson(JsonReader jsonReader)
Reads an instance of TrackedResourceUpdate from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public TrackedResourceUpdate withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withTags
public TrackedResourceUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: