Interface UpdatableWithTags.UpdateWithTags<T>

Type Parameters:
T - the type of the resource being update
All Known Subinterfaces:
AppliableWithTags<T>
Enclosing interface:
UpdatableWithTags<T>

public static interface UpdatableWithTags.UpdateWithTags<T>
An update allowing tags to be modified for the resource.
  • Method Details

    • withTags

      AppliableWithTags<T> withTags(Map<String,String> tags)
      Specifies tags for the resource as a Map.
      Parameters:
      tags - a Map of tags
      Returns:
      the next stage of the resource update
    • withTag

      AppliableWithTags<T> withTag(String key, String value)
      Adds a tag to the resource.
      Parameters:
      key - the key for the tag
      value - the value for the tag
      Returns:
      the next stage of the resource update
    • withoutTag

      AppliableWithTags<T> withoutTag(String key)
      Removes a tag from the resource.
      Parameters:
      key - the key of the tag to remove
      Returns:
      the next stage of the resource update