Interface Tag
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
Tag.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-11-06T23:25:10.374Z")
@Stability(Stable)
public interface Tag
extends software.amazon.jsii.JsiiSerializable
Metadata that you apply to a resource to help categorize and organize the resource.
Each tag consists of a key and an optional value, both of which you define.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.events.targets.*;
Tag tag = Tag.builder()
.key("key")
.value("value")
.build();
-
Method Details
-
getKey
Key is the name of the tag. -
getValue
Value is the metadata contents of the tag. -
builder
- Returns:
- a
Tag.BuilderofTag
-