Class Resource

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource

public class Resource extends ProxyResource
The Resource model.
  • Constructor Details

    • Resource

      public Resource()
  • Method Details

    • location

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

      public Resource withLocation(String location)
      Set the location value.
      Parameters:
      location - the geo-location where the resource live.
      Returns:
      the resource itself.
    • tags

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

      public Resource withTags(Map<String,String> tags)
      Set the tags value.
      Parameters:
      tags - the tags of the resource.
      Returns:
      the resource itself.