Class HeaderBlock.HeaderBlockBuilder

java.lang.Object
com.slack.api.model.block.HeaderBlock.HeaderBlockBuilder
Enclosing class:
HeaderBlock

public static class HeaderBlock.HeaderBlockBuilder extends Object
  • Method Details

    • blockId

      public HeaderBlock.HeaderBlockBuilder blockId(String blockId)
      A string acting as a unique identifier for a block. If not specified, one will be generated. Maximum length for this field is 255 characters. block_id should be unique for each message and each iteration of a message. If a message is updated, use a new block_id.
      Returns:
      this.
    • text

      The text for the block, in the form of a plain_text text object. Maximum length for the text in this field is 3000 characters.
      Returns:
      this.
    • build

      public HeaderBlock build()
    • toString

      public String toString()
      Overrides:
      toString in class Object