@Generated(value="jsii-pacmak/0.16.0 (build 98909b5)", date="2019-09-06T00:51:58.982Z") @Stability(value=Stable) public class TagManager extends software.amazon.jsii.JsiiObject
| Modifier | Constructor and Description |
|---|---|
protected |
TagManager(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
TagManager(software.amazon.jsii.JsiiObjectRef objRef) |
|
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, jsiiStaticSet, setObjRefprotected TagManager(software.amazon.jsii.JsiiObjectRef objRef)
protected TagManager(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public TagManager(TagType tagType, String resourceTypeName, Object tagStructure)
@Stability(value=Stable) public static Boolean isTaggable(Object construct)
@Stability(value=Stable) public Boolean applyTagAspectHere(List<String> include, List<String> exclude)
@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) public Object renderTags()
@Stability(value=Stable) public void setTag(String key, String value, Number priority, Boolean applyToLaunchedInstances)
@Stability(value=Stable) public void setTag(String key, String value, Number priority)
Copyright © 2019. All rights reserved.