Interface BodySectionConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BodySectionConfiguration.Builder,
,BodySectionConfiguration> SdkBuilder<BodySectionConfiguration.Builder,
,BodySectionConfiguration> SdkPojo
- Enclosing class:
BodySectionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault BodySectionConfiguration.Builder
content
(Consumer<BodySectionContent.Builder> content) The configuration of content in a body section.content
(BodySectionContent content) The configuration of content in a body section.default BodySectionConfiguration.Builder
pageBreakConfiguration
(Consumer<SectionPageBreakConfiguration.Builder> pageBreakConfiguration) The configuration of a page break for a section.pageBreakConfiguration
(SectionPageBreakConfiguration pageBreakConfiguration) The configuration of a page break for a section.default BodySectionConfiguration.Builder
repeatConfiguration
(Consumer<BodySectionRepeatConfiguration.Builder> repeatConfiguration) Describes the configurations that are required to declare a section as repeating.repeatConfiguration
(BodySectionRepeatConfiguration repeatConfiguration) Describes the configurations that are required to declare a section as repeating.The unique identifier of a body section.default BodySectionConfiguration.Builder
style
(Consumer<SectionStyle.Builder> style) The style options of a body section.style
(SectionStyle style) The style options of a body section.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 Details
-
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
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
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:
-
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
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:
-
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:
-
repeatConfiguration
BodySectionConfiguration.Builder repeatConfiguration(BodySectionRepeatConfiguration repeatConfiguration) Describes the configurations that are required to declare a section as repeating.
- Parameters:
repeatConfiguration
- Describes the configurations that are required to declare a section as repeating.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repeatConfiguration
default BodySectionConfiguration.Builder repeatConfiguration(Consumer<BodySectionRepeatConfiguration.Builder> repeatConfiguration) Describes the configurations that are required to declare a section as repeating.
This is a convenience method that creates an instance of theBodySectionRepeatConfiguration.Builder
avoiding the need to create one manually viaBodySectionRepeatConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torepeatConfiguration(BodySectionRepeatConfiguration)
.- Parameters:
repeatConfiguration
- a consumer that will call methods onBodySectionRepeatConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-