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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppliableWithTags<T>withoutTag(String key)Removes a tag from the resource.AppliableWithTags<T>withTag(String key, String value)Adds a tag to the resource.AppliableWithTags<T>withTags(Map<String,String> tags)Specifies tags for the resource as aMap.
-
-
-
Method Detail
-
withTags
AppliableWithTags<T> withTags(Map<String,String> tags)
Specifies tags for the resource as aMap.- Parameters:
tags- aMapof 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 tagvalue- 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
-
-