Interface BodySectionConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>
,SdkBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>
,SdkPojo
- Enclosing class:
- BodySectionConfiguration
public static interface BodySectionConfiguration.Builder extends SdkPojo, CopyableBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>
-
-
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
-
sectionId
BodySectionConfiguration.Builder sectionId(String sectionId)
The unique identifier of a body section.
- Parameters:
sectionId
- The unique identifier of a body section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
BodySectionConfiguration.Builder content(BodySectionContent content)
The configuration of content in a body section.
- Parameters:
content
- The configuration of content in a body section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
default BodySectionConfiguration.Builder content(Consumer<BodySectionContent.Builder> content)
The configuration of content in a body section.
This is a convenience method that creates an instance of theBodySectionContent.Builder
avoiding the need to create one manually viaBodySectionContent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontent(BodySectionContent)
.- Parameters:
content
- a consumer that will call methods onBodySectionContent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
content(BodySectionContent)
-
style
BodySectionConfiguration.Builder style(SectionStyle style)
The style options of a body section.
- Parameters:
style
- The style options of a body section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
style
default BodySectionConfiguration.Builder style(Consumer<SectionStyle.Builder> style)
The style options of a body section.
This is a convenience method that creates an instance of theSectionStyle.Builder
avoiding the need to create one manually viaSectionStyle.builder()
.When the
Consumer
completes,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:
style(SectionStyle)
-
pageBreakConfiguration
BodySectionConfiguration.Builder pageBreakConfiguration(SectionPageBreakConfiguration pageBreakConfiguration)
The configuration of a page break for a section.
- Parameters:
pageBreakConfiguration
- The configuration of a page break for a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pageBreakConfiguration
default BodySectionConfiguration.Builder pageBreakConfiguration(Consumer<SectionPageBreakConfiguration.Builder> pageBreakConfiguration)
The configuration of a page break for a section.
This is a convenience method that creates an instance of theSectionPageBreakConfiguration.Builder
avoiding the need to create one manually viaSectionPageBreakConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topageBreakConfiguration(SectionPageBreakConfiguration)
.- Parameters:
pageBreakConfiguration
- a consumer that will call methods onSectionPageBreakConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
pageBreakConfiguration(SectionPageBreakConfiguration)
-
-