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)

      A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").

      Parameters:
      key - A key is the required name of the tag. The string value can be from 1 to 128 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      Tag.Builder value(String value)

      A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").

      Parameters:
      value - A value is the optional value of the tag. The string value can be from 1 to 256 Unicode characters in length and can't be prefixed with aws: or rds:. The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', ':', '/', '=', '+', '-', '@' (Java regex: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$").
      Returns:
      Returns a reference to this object so that method calls can be chained together.