Interface ConnectionMonitor.DefinitionStages.WithTags
-
- All Known Subinterfaces:
ConnectionMonitor.Definition,ConnectionMonitor.DefinitionStages.WithCreate
- Enclosing interface:
- ConnectionMonitor.DefinitionStages
public static interface ConnectionMonitor.DefinitionStages.WithTagsThe stage of the connection monitor definition allowing to add or update tags.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ConnectionMonitor.DefinitionStages.WithCreatewithoutTag(String key)Removes a tag from the connection monitor.ConnectionMonitor.DefinitionStages.WithCreatewithTag(String key, String value)Adds a tag to the connection monitor.ConnectionMonitor.DefinitionStages.WithCreatewithTags(Map<String,String> tags)Specifies tags for the connection monitor.
-
-
-
Method Detail
-
withTags
ConnectionMonitor.DefinitionStages.WithCreate withTags(Map<String,String> tags)
Specifies tags for the connection monitor.- Parameters:
tags- tags indexed by name- Returns:
- the next stage of the definition
-
withTag
ConnectionMonitor.DefinitionStages.WithCreate withTag(String key, String value)
Adds a tag to the connection monitor.- Parameters:
key- the key for the tagvalue- the value for the tag- Returns:
- the next stage of the definition
-
withoutTag
ConnectionMonitor.DefinitionStages.WithCreate withoutTag(String key)
Removes a tag from the connection monitor.- Parameters:
key- the key of the tag to remove- Returns:
- the next stage of the definition
-
-