| Package | Description |
|---|---|
| com.hubspot.slack.client.models.blocks |
| Modifier and Type | Method and Description |
|---|---|
Section |
Section.Builder.build()
Builds a new
Section. |
static Section |
Section.copyOf(SectionIF instance)
Creates an immutable copy of a
SectionIF value. |
static Section |
Section.of(Text text)
Construct a new immutable
Section instance. |
Section |
Section.withAccessory(BlockElement value)
Copy the current immutable object by setting a present value for the optional
accessory attribute. |
Section |
Section.withAccessory(Optional<BlockElement> optional)
Copy the current immutable object by setting an optional value for the
accessory attribute. |
Section |
Section.withBlockId(Optional<String> optional)
Copy the current immutable object by setting an optional value for the
blockId attribute. |
Section |
Section.withBlockId(String value)
Copy the current immutable object by setting a present value for the optional
blockId attribute. |
Section |
Section.withFields(Iterable<? extends Text> elements)
Copy the current immutable object with elements that replace the content of
fields. |
Section |
Section.withFields(Text... elements)
Copy the current immutable object with elements that replace the content of
fields. |
Section |
Section.withText(Text text)
Copy the current immutable object by setting a value for the
text attribute. |
Copyright © 2019. All rights reserved.