Interface Tag

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
Tag.Jsii$Proxy

@Generated(value="jsii-pacmak/1.98.0 (build 00b106d)", date="2024-05-08T21:35:13.265Z") @Stability(Stable) public interface Tag extends software.amazon.jsii.JsiiSerializable
Tag.

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.s3.*;
 Tag tag = Tag.builder()
         .key("key")
         .value("value")
         .build();
 
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder for Tag
    static final class 
    An implementation for Tag
  • Method Summary

    Modifier and Type
    Method
    Description
     
    key to e tagged.
    additional value.

    Methods inherited from interface software.amazon.jsii.JsiiSerializable

    $jsii$toJson
  • Method Details

    • getKey

      @Stability(Stable) @NotNull String getKey()
      key to e tagged.
    • getValue

      @Stability(Stable) @NotNull String getValue()
      additional value.
    • builder

      @Stability(Stable) static Tag.Builder builder()
      Returns:
      a Tag.Builder of Tag