Interface Webhook.UpdateResourceStages.WithOrWithoutTags<ParentT>
-
- Type Parameters:
ParentT- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
Webhook.UpdateResource<ParentT>,Webhook.UpdateResourceStages.Blank<ParentT>,Webhook.UpdateResourceStages.WithAttach<ParentT>
- Enclosing interface:
- Webhook.UpdateResourceStages
public static interface Webhook.UpdateResourceStages.WithOrWithoutTags<ParentT>The stage of the webhook definition allowing to specify the tags.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Webhook.UpdateResourceStages.WithAttach<ParentT>withoutTag(String key)Removes a tag from the resource.Webhook.UpdateResourceStages.WithAttach<ParentT>withTag(String key, String value)Adds a tag to the webhook.Webhook.UpdateResourceStages.WithAttach<ParentT>withTags(Map<String,String> tags)Specifies tags for the webhook.
-
-
-
Method Detail
-
withTags
Webhook.UpdateResourceStages.WithAttach<ParentT> withTags(Map<String,String> tags)
Specifies tags for the webhook.- Parameters:
tags- aMapof tags- Returns:
- the next stage of the resource update
-
withTag
Webhook.UpdateResourceStages.WithAttach<ParentT> withTag(String key, String value)
Adds a tag to the webhook.- Parameters:
key- the key for the tagvalue- the value for the tag- Returns:
- the next stage of the resource update
-
withoutTag
Webhook.UpdateResourceStages.WithAttach<ParentT> 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
-
-