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)

      Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.

      Parameters:
      key - Required. A string used to identify this tag. You can specify a maximum of 128 characters for a tag key. Tags owned by Amazon Web Services (Amazon Web Services) have the reserved prefix: aws:.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • value

      Tag.Builder value(String value)

      Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.

      Parameters:
      value - Required. A string containing the value for this tag. You can specify a maximum of 256 characters for a tag value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.