Class TrackedResourceUpdate
java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
- Direct Known Subclasses:
DevBoxDefinitionUpdate
,DevCenterUpdate
,NetworkConnectionUpdate
,PoolUpdate
,ProjectUpdate
,ScheduleUpdate
Base tracked resource type for PATCH updates.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: The geo-location where the resource lives.tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.withLocation
(String location) Set the location property: The geo-location where the resource lives.Set the tags property: Resource tags.
-
Constructor Details
-
TrackedResourceUpdate
public TrackedResourceUpdate()Creates an instance of TrackedResourceUpdate class.
-
-
Method Details
-
tags
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
location
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
Set the location property: The geo-location where the resource lives.- Parameters:
location
- the location value to set.- Returns:
- the TrackedResourceUpdate object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-