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

@Mutable @NotThreadSafe public static interface Tag.Builder extends SdkPojo, CopyableBuilder<Tag.Builder,Tag>
  • Method Details

    • key

      Tag.Builder key(String key)

      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 have the reserved prefix: aws:.

      Parameters:
      key - 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 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)

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

      Parameters:
      value - A string that contains 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.