Interface KeyValue.Builder

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

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

    • 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.