public static interface SectionStyle.Builder extends SdkPojo, CopyableBuilder<SectionStyle.Builder,SectionStyle>
| Modifier and Type | Method and Description |
|---|---|
SectionStyle.Builder |
height(String height)
The height of a section.
|
default SectionStyle.Builder |
padding(Consumer<Spacing.Builder> padding)
The spacing between section content and its top, bottom, left, and right edges.
|
SectionStyle.Builder |
padding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSectionStyle.Builder height(String height)
The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
height - The height of a section.
Heights can only be defined for header and footer sections. The default height margin is 0.5 inches.
SectionStyle.Builder padding(Spacing padding)
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
padding - The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
default SectionStyle.Builder padding(Consumer<Spacing.Builder> padding)
The spacing between section content and its top, bottom, left, and right edges.
There is no padding by default.
This is a convenience method that creates an instance of theSpacing.Builder avoiding the need to
create one manually via Spacing.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to padding(Spacing).
padding - a consumer that will call methods on Spacing.Builderpadding(Spacing)Copyright © 2023. All rights reserved.