@Generated(value="jsii-pacmak/0.20.4 (build 96d89e1)", date="2019-11-12T11:54:39.769Z") @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, jsiiStaticSetprotected 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)
tagType - This parameter is required.resourceTypeName - This parameter is required.tagStructure - @Stability(value=Stable) public static Boolean isTaggable(Object construct)
construct - This parameter is required.@Stability(value=Stable) public Boolean applyTagAspectHere(List<String> include, List<String> exclude)
include - exclude - @Stability(value=Stable) public Boolean applyTagAspectHere(List<String> include)
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. This parameter is required.priority - The priority of the remove operation. This parameter is required.@Stability(value=Stable) public Object renderTags()
@Stability(value=Stable) public void setTag(String key, String value, Number priority, Boolean applyToLaunchedInstances)
key - This parameter is required.value - This parameter is required.priority - applyToLaunchedInstances - @Stability(value=Stable) public void setTag(String key, String value, Number priority)
key - This parameter is required.value - This parameter is required.priority - Copyright © 2019. All rights reserved.