ConnectionMonitor.DefinitionStages.WithTags Interface

public static interface ConnectionMonitor.DefinitionStages.WithTags

The stage of the connection monitor definition allowing to add or update tags.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withTag(String key, String value)

Adds a tag to the connection monitor.

abstract WithCreate withTags(Map<String,String> tags)

Specifies tags for the connection monitor.

abstract WithCreate withoutTag(String key)

Removes a tag from the connection monitor.

Method Details

withTag

public abstract ConnectionMonitor.DefinitionStages.WithCreate withTag(String key, String value)

Adds a tag to the connection monitor.

Parameters:

key - the key for the tag
value - the value for the tag

Returns:

the next stage of the definition

withTags

public abstract ConnectionMonitor.DefinitionStages.WithCreate withTags(Map tags)

Specifies tags for the connection monitor.

Parameters:

tags - tags indexed by name

Returns:

the next stage of the definition

withoutTag

public abstract 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

Applies to