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
Modifier and TypeMethodDescriptionwithoutTag(String key) Removes a tag from the resource.Adds a tag to the webhook.Specifies tags for the webhook.
-
Method Details
-
withTags
Specifies tags for the webhook.- Parameters:
tags- aMapof tags- Returns:
- the next stage of the resource update
-
withTag
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
Removes a tag from the resource.- Parameters:
key- the key of the tag to remove- Returns:
- the next stage of the resource update
-