@Generated(value="jsii-pacmak/0.14.3 (build 1b1062d)", date="2019-08-14T08:10:20.296Z") @Stability(value=Stable) public class TagManager extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
TagManager(software.amazon.jsii.JsiiObject.InitializationMode mode) |
|
TagManager(TagType tagType,
String resourceTypeName) |
|
TagManager(TagType tagType,
String resourceTypeName,
Object tagStructure) |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
applyTagAspectHere() |
Boolean |
applyTagAspectHere(List<String> include) |
Boolean |
applyTagAspectHere(List<String> include,
List<String> exclude) |
Boolean |
hasTags()
Returns true if there are any tags defined.
|
static Boolean |
isTaggable(Object construct)
Check whether the given construct is Taggable.
|
void |
removeTag(String key,
Number priority)
Removes the specified tag from the array if it exists.
|
Object |
renderTags()
Renders tags into the proper format based on TagType.
|
void |
setTag(String key,
String value)
Adds the specified tag to the array of tags.
|
void |
setTag(String key,
String value,
Number priority)
Adds the specified tag to the array of tags.
|
void |
setTag(String key,
String value,
Number priority,
Boolean applyToLaunchedInstances)
Adds the specified tag to the array of tags.
|
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSetprotected TagManager(software.amazon.jsii.JsiiObject.InitializationMode mode)
@Stability(value=Stable) public TagManager(TagType tagType, String resourceTypeName, @Nullable Object tagStructure)
@Stability(value=Stable) public static Boolean isTaggable(@Nullable Object construct)
@Stability(value=Stable) public Boolean applyTagAspectHere(@Nullable List<String> include, @Nullable List<String> exclude)
@Stability(value=Stable) public Boolean applyTagAspectHere(@Nullable List<String> include)
@Stability(value=Stable) public Boolean applyTagAspectHere()
@Stability(value=Stable) public Boolean hasTags()
@Stability(value=Stable) public void removeTag(String key, Number priority)
key - The tag to remove.priority - The priority of the remove operation.@Stability(value=Stable) @Nullable public Object renderTags()
@Stability(value=Stable) public void setTag(String key, String value, @Nullable Number priority, @Nullable Boolean applyToLaunchedInstances)
@Stability(value=Stable) public void setTag(String key, String value, @Nullable Number priority)
Copyright © 2019. All rights reserved.