Class TrackedResourceUpdate

java.lang.Object
com.azure.resourcemanager.devcenter.models.TrackedResourceUpdate
Direct Known Subclasses:
DevBoxDefinitionUpdate, DevCenterUpdate, NetworkConnectionUpdate, PoolUpdate, ProjectUpdate, ScheduleUpdate

public class TrackedResourceUpdate extends Object
Base tracked resource type for PATCH updates.
  • Constructor Details

    • TrackedResourceUpdate

      public TrackedResourceUpdate()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public TrackedResourceUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the TrackedResourceUpdate object itself.
    • location

      public String location()
      Get the location property: The geo-location where the resource lives.
      Returns:
      the location value.
    • withLocation

      public TrackedResourceUpdate withLocation(String location)
      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.