Interface SectionBasedLayoutConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SectionBasedLayoutConfiguration.Builder,,SectionBasedLayoutConfiguration> SdkBuilder<SectionBasedLayoutConfiguration.Builder,,SectionBasedLayoutConfiguration> SdkPojo
- Enclosing class:
SectionBasedLayoutConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionbodySections(Collection<BodySectionConfiguration> bodySections) A list of body section configurations.bodySections(Consumer<BodySectionConfiguration.Builder>... bodySections) A list of body section configurations.bodySections(BodySectionConfiguration... bodySections) A list of body section configurations.canvasSizeOptions(Consumer<SectionBasedLayoutCanvasSizeOptions.Builder> canvasSizeOptions) The options for the canvas of a section-based layout.canvasSizeOptions(SectionBasedLayoutCanvasSizeOptions canvasSizeOptions) The options for the canvas of a section-based layout.footerSections(Collection<HeaderFooterSectionConfiguration> footerSections) A list of footer section configurations.footerSections(Consumer<HeaderFooterSectionConfiguration.Builder>... footerSections) A list of footer section configurations.footerSections(HeaderFooterSectionConfiguration... footerSections) A list of footer section configurations.headerSections(Collection<HeaderFooterSectionConfiguration> headerSections) A list of header section configurations.headerSections(Consumer<HeaderFooterSectionConfiguration.Builder>... headerSections) A list of header section configurations.headerSections(HeaderFooterSectionConfiguration... headerSections) A list of header section configurations.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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(Consumer<HeaderFooterSectionConfiguration.Builder>... headerSections) A list of header section configurations.
This is a convenience method that creates an instance of theHeaderFooterSectionConfiguration.Builderavoiding the need to create one manually viaHeaderFooterSectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toheaderSections(List<HeaderFooterSectionConfiguration>).- 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:
-
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
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.Builderavoiding the need to create one manually viaBodySectionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobodySections(List<BodySectionConfiguration>).- 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:
-
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.Builderavoiding the need to create one manually viaSectionBasedLayoutCanvasSizeOptions.builder().When the
Consumercompletes,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:
-