Interface Tag.Builder

    • Method Detail

      • key

        Tag.Builder key​(String key)

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

        Parameters:
        key - A key is the required name of the tag. The string value can be 1-128 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\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 1-256 Unicode characters in length and can't be prefixed with "aws:" or "dms:". The string can only contain only the set of Unicode letters, digits, white-space, '_', '.', '/', '=', '+', '-' (Java regular expressions: "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-]*)$").

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

        Tag.Builder resourceArn​(String resourceArn)

        The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.

        Parameters:
        resourceArn - The Amazon Resource Name (ARN) string that uniquely identifies the resource for which the tag is created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.