Interface BodySectionConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BodySectionConfiguration.Builder,,BodySectionConfiguration> SdkBuilder<BodySectionConfiguration.Builder,,BodySectionConfiguration> SdkPojo
- Enclosing class:
BodySectionConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault BodySectionConfiguration.Buildercontent(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.BuilderpageBreakConfiguration(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.BuilderrepeatConfiguration(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.Builderstyle(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
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 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.Builderavoiding the need to create one manually viaBodySectionContent.builder().When the
Consumercompletes,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.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:
-
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.Builderavoiding the need to create one manually viaSectionPageBreakConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaBodySectionRepeatConfiguration.builder().When the
Consumercompletes,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:
-