Interface Resource.UpdateWithTags<T>
-
- Type Parameters:
T- the type of the next stage resource update
- All Known Subinterfaces:
GenericResource.Update,ResourceGroup.Update
- Enclosing interface:
- Resource
public static interface Resource.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 TwithoutTag(String key)Removes a tag from the resource.TwithTag(String key, String value)Adds a tag to the resource.TwithTags(Map<String,String> tags)Specifies tags for the resource as aMap.
-
-
-
Method Detail
-
withTags
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
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
-
-