@Generated(value="jsii-pacmak/1.13.0 (build 385c325)", date="2020-10-19T20:38:05.426Z") @Stability(value=Stable) public class Tag extends software.amazon.jsii.JsiiObject implements IAspect
| Modifier and Type | Class and Description |
|---|---|
static class |
Tag.Builder
A fluent builder for
Tag. |
software.amazon.jsii.JsiiObject.InitializationModeIAspect.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
protected |
Tag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
Tag(software.amazon.jsii.JsiiObjectRef objRef) |
|
Tag(String key,
String value) |
|
Tag(String key,
String value,
TagProps props) |
| Modifier and Type | Method and Description |
|---|---|
static void |
add(Construct scope,
String key,
String value)
Deprecated.
use `Tags.of(scope).add()`
|
static void |
add(Construct scope,
String key,
String value,
TagProps props)
Deprecated.
use `Tags.of(scope).add()`
|
protected void |
applyTag(ITaggable resource) |
String |
getKey()
The string key for the tag.
|
protected TagProps |
getProps() |
String |
getValue()
The string value of the tag.
|
static void |
remove(Construct scope,
String key)
Deprecated.
use `Tags.of(scope).remove()`
|
static void |
remove(Construct scope,
String key,
TagProps props)
Deprecated.
use `Tags.of(scope).remove()`
|
void |
visit(IConstruct construct)
All aspects can visit an IConstruct.
|
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSetprotected Tag(software.amazon.jsii.JsiiObjectRef objRef)
protected Tag(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public Tag(@NotNull
String key,
@NotNull
String value,
@Nullable
TagProps props)
key - This parameter is required.value - This parameter is required.props - @Stability(value=Deprecated) @Deprecated public static void add(@NotNull Construct scope, @NotNull String key, @NotNull String value, @Nullable TagProps props)
scope - This parameter is required.key - This parameter is required.value - This parameter is required.props - @Stability(value=Deprecated) @Deprecated public static void add(@NotNull Construct scope, @NotNull String key, @NotNull String value)
scope - This parameter is required.key - This parameter is required.value - This parameter is required.@Stability(value=Deprecated) @Deprecated public static void remove(@NotNull Construct scope, @NotNull String key, @Nullable TagProps props)
scope - This parameter is required.key - This parameter is required.props - @Stability(value=Deprecated) @Deprecated public static void remove(@NotNull Construct scope, @NotNull String key)
scope - This parameter is required.key - This parameter is required.@Stability(value=Stable)
protected void applyTag(@NotNull
ITaggable resource)
resource - This parameter is required.@Stability(value=Stable)
public void visit(@NotNull
IConstruct construct)
@Stability(value=Stable) @NotNull public String getKey()
@Stability(value=Stable) @NotNull protected TagProps getProps()
@Stability(value=Stable) @NotNull public String getValue()
Copyright © 2020. All rights reserved.