Interface BodySectionConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>,SdkBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>,SdkPojo
- Enclosing class:
- BodySectionConfiguration
@Mutable @NotThreadSafe public static interface BodySectionConfiguration.Builder extends SdkPojo, CopyableBuilder<BodySectionConfiguration.Builder,BodySectionConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BodySectionConfiguration.Buildercontent(Consumer<BodySectionContent.Builder> content)The configuration of content in a body section.BodySectionConfiguration.Buildercontent(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.BodySectionConfiguration.BuilderpageBreakConfiguration(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.BodySectionConfiguration.BuilderrepeatConfiguration(BodySectionRepeatConfiguration repeatConfiguration)Describes the configurations that are required to declare a section as repeating.BodySectionConfiguration.BuildersectionId(String sectionId)The unique identifier of a body section.default BodySectionConfiguration.Builderstyle(Consumer<SectionStyle.Builder> style)The style options of a body section.BodySectionConfiguration.Builderstyle(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, sdkFieldNameToField, 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.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:
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.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:
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.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:
pageBreakConfiguration(SectionPageBreakConfiguration)
-
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:
repeatConfiguration(BodySectionRepeatConfiguration)
-
-