Interface HeaderFooterSectionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HeaderFooterSectionConfiguration.Builder,,HeaderFooterSectionConfiguration> SdkBuilder<HeaderFooterSectionConfiguration.Builder,,HeaderFooterSectionConfiguration> SdkPojo
- Enclosing class:
HeaderFooterSectionConfiguration
@Mutable
@NotThreadSafe
public static interface HeaderFooterSectionConfiguration.Builder
extends SdkPojo, CopyableBuilder<HeaderFooterSectionConfiguration.Builder,HeaderFooterSectionConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionThe layout configuration of the header or footer section.layout(SectionLayoutConfiguration layout) The layout configuration of the header or footer section.The unique identifier of the header or footer section.style(Consumer<SectionStyle.Builder> style) The style options of a header or footer section.style(SectionStyle style) The style options of a header or footer section.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
-
sectionId
The unique identifier of the header or footer section.
- Parameters:
sectionId- The unique identifier of the header or footer section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
The layout configuration of the header or footer section.
- Parameters:
layout- The layout configuration of the header or footer section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
default HeaderFooterSectionConfiguration.Builder layout(Consumer<SectionLayoutConfiguration.Builder> layout) The layout configuration of the header or footer section.
This is a convenience method that creates an instance of theSectionLayoutConfiguration.Builderavoiding the need to create one manually viaSectionLayoutConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolayout(SectionLayoutConfiguration).- Parameters:
layout- a consumer that will call methods onSectionLayoutConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
style
The style options of a header or footer section.
- Parameters:
style- The style options of a header or footer section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
style
The style options of a header or footer section.
This is a convenience method that creates an instance of theSectionStyle.Builderavoiding the need to create one manually viaSectionStyle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostyle(SectionStyle).- Parameters:
style- a consumer that will call methods onSectionStyle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-