Interface SectionBasedLayoutConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<SectionBasedLayoutConfiguration.Builder,SectionBasedLayoutConfiguration>
,SdkBuilder<SectionBasedLayoutConfiguration.Builder,SectionBasedLayoutConfiguration>
,SdkPojo
- Enclosing class:
- SectionBasedLayoutConfiguration
public static interface SectionBasedLayoutConfiguration.Builder extends SdkPojo, CopyableBuilder<SectionBasedLayoutConfiguration.Builder,SectionBasedLayoutConfiguration>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
headerSections
SectionBasedLayoutConfiguration.Builder headerSections(Collection<HeaderFooterSectionConfiguration> headerSections)
A list of header section configurations.
- Parameters:
headerSections
- A list of header section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerSections
SectionBasedLayoutConfiguration.Builder headerSections(HeaderFooterSectionConfiguration... headerSections)
A list of header section configurations.
- Parameters:
headerSections
- A list of header section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headerSections
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 viaHeaderFooterSectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#headerSections(List
.) - Parameters:
headerSections
- a consumer that will call methods onHeaderFooterSectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#headerSections(java.util.Collection
)
-
bodySections
SectionBasedLayoutConfiguration.Builder bodySections(Collection<BodySectionConfiguration> bodySections)
A list of body section configurations.
- Parameters:
bodySections
- A list of body section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bodySections
SectionBasedLayoutConfiguration.Builder bodySections(BodySectionConfiguration... bodySections)
A list of body section configurations.
- Parameters:
bodySections
- A list of body section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bodySections
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 viaBodySectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#bodySections(List
.) - Parameters:
bodySections
- a consumer that will call methods onBodySectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#bodySections(java.util.Collection
)
-
footerSections
SectionBasedLayoutConfiguration.Builder footerSections(Collection<HeaderFooterSectionConfiguration> footerSections)
A list of footer section configurations.
- Parameters:
footerSections
- A list of footer section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
footerSections
SectionBasedLayoutConfiguration.Builder footerSections(HeaderFooterSectionConfiguration... footerSections)
A list of footer section configurations.
- Parameters:
footerSections
- A list of footer section configurations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
footerSections
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 viaHeaderFooterSectionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#footerSections(List
.) - Parameters:
footerSections
- a consumer that will call methods onHeaderFooterSectionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#footerSections(java.util.Collection
)
-
canvasSizeOptions
SectionBasedLayoutConfiguration.Builder canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions canvasSizeOptions)
The options for the canvas of a section-based layout.
- Parameters:
canvasSizeOptions
- The options for the canvas of a section-based layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canvasSizeOptions
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 viaSectionBasedLayoutCanvasSizeOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanvasSizeOptions(SectionBasedLayoutCanvasSizeOptions)
.- Parameters:
canvasSizeOptions
- a consumer that will call methods onSectionBasedLayoutCanvasSizeOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions)
-
-