Interface KeyValue.Builder

    • Method Detail

      • key

        KeyValue.Builder key​(String key)

        The tag key (String). The key can't start with aws:.

        Length Constraints: Minimum length of 1. Maximum length of 128.

        Pattern: ^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$

        Parameters:
        key - The tag key (String). The key can't start with aws:.

        Length Constraints: Minimum length of 1. Maximum length of 128.

        Pattern: ^(?![aA]{1}[wW]{1}[sS]{1}:)([\p{L}\p{Z}\p{N}_.:/=+\-@]+)$

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

        KeyValue.Builder value​(String value)

        The value of the key.

        Length Constraints: Maximum length of 256.

        Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

        Parameters:
        value - The value of the key.

        Length Constraints: Maximum length of 256.

        Pattern: ^([\p{L}\p{Z}\p{N}_.:/=+\-@]*)$

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