public static interface SectionBasedLayoutConfiguration.Builder extends SdkPojo, CopyableBuilder<SectionBasedLayoutConfiguration.Builder,SectionBasedLayoutConfiguration>
equalsBySdkFields, sdkFields
copy
applyMutation, build
SectionBasedLayoutConfiguration.Builder headerSections(Collection<HeaderFooterSectionConfiguration> headerSections)
A list of header section configurations.
headerSections
- A list of header section configurations.SectionBasedLayoutConfiguration.Builder headerSections(HeaderFooterSectionConfiguration... headerSections)
A list of header section configurations.
headerSections
- A list of header section configurations.SectionBasedLayoutConfiguration.Builder headerSections(Consumer<HeaderFooterSectionConfiguration.Builder>... headerSections)
A list of header section configurations.
This is a convenience method that creates an instance of theHeaderFooterSectionConfiguration.Builder
avoiding
the need to create one manually via
HeaderFooterSectionConfiguration.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is
called immediately and its result is passed to #headerSections(List
.
headerSections
- a consumer that will call methods on
HeaderFooterSectionConfiguration.Builder
#headerSections(java.util.Collection)
SectionBasedLayoutConfiguration.Builder bodySections(Collection<BodySectionConfiguration> bodySections)
A list of body section configurations.
bodySections
- A list of body section configurations.SectionBasedLayoutConfiguration.Builder bodySections(BodySectionConfiguration... bodySections)
A list of body section configurations.
bodySections
- A list of body section configurations.SectionBasedLayoutConfiguration.Builder bodySections(Consumer<BodySectionConfiguration.Builder>... bodySections)
A list of body section configurations.
This is a convenience method that creates an instance of theBodySectionConfiguration.Builder
avoiding the need
to create one manually via
BodySectionConfiguration.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called
immediately and its result is passed to #bodySections(List
.
bodySections
- a consumer that will call methods on
BodySectionConfiguration.Builder
#bodySections(java.util.Collection)
SectionBasedLayoutConfiguration.Builder footerSections(Collection<HeaderFooterSectionConfiguration> footerSections)
A list of footer section configurations.
footerSections
- A list of footer section configurations.SectionBasedLayoutConfiguration.Builder footerSections(HeaderFooterSectionConfiguration... footerSections)
A list of footer section configurations.
footerSections
- A list of footer section configurations.SectionBasedLayoutConfiguration.Builder footerSections(Consumer<HeaderFooterSectionConfiguration.Builder>... footerSections)
A list of footer section configurations.
This is a convenience method that creates an instance of theHeaderFooterSectionConfiguration.Builder
avoiding
the need to create one manually via
HeaderFooterSectionConfiguration.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is
called immediately and its result is passed to #footerSections(List
.
footerSections
- a consumer that will call methods on
HeaderFooterSectionConfiguration.Builder
#footerSections(java.util.Collection)
SectionBasedLayoutConfiguration.Builder canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions canvasSizeOptions)
The options for the canvas of a section-based layout.
canvasSizeOptions
- The options for the canvas of a section-based layout.default SectionBasedLayoutConfiguration.Builder canvasSizeOptions(Consumer<SectionBasedLayoutCanvasSizeOptions.Builder> canvasSizeOptions)
The options for the canvas of a section-based layout.
This is a convenience method that creates an instance of theSectionBasedLayoutCanvasSizeOptions.Builder
avoiding the need to create one manually via
SectionBasedLayoutCanvasSizeOptions.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions)
.
canvasSizeOptions
- a consumer that will call methods on SectionBasedLayoutCanvasSizeOptions.Builder
canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions)
Copyright © 2023. All rights reserved.