Class Resource


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

      • Resource

        public Resource()
    • Method Detail

      • 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.