Interface Tag.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Tag.Builder,Tag>, SdkBuilder<Tag.Builder,Tag>, SdkPojo
Enclosing class:
Tag

public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
  • Method Details

    • key

      Tag.Builder key(String key)

      The key of the tag.

      Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

      Parameters:
      key - The key of the tag.

      Constraints: Tag keys are case-sensitive and accept a maximum of 127 Unicode characters. May not begin with aws:.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      Tag.Builder value(String value)

      The value of the tag.

      Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

      Parameters:
      value - The value of the tag.

      Constraints: Tag values are case-sensitive and accept a maximum of 256 Unicode characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.