Class TaggedResource

    • Constructor Detail

      • TaggedResource

        public TaggedResource()
    • Method Detail

      • tags

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

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

        public TaggedResource withLocation​(String location)
        Set the location property: The resource location.
        Overrides:
        withLocation in class LocationBasedResource
        Parameters:
        location - the location value to set.
        Returns:
        the LocationBasedResource object itself.
      • withEtag

        public TaggedResource withEtag​(String etag)
        Set the etag property: An etag associated with the resource, used for optimistic concurrency when editing it.
        Overrides:
        withEtag in class LocationBasedResource
        Parameters:
        etag - the etag value to set.
        Returns:
        the ResourceCore object itself.