Interface BodySectionContent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<BodySectionContent.Builder,BodySectionContent>,SdkBuilder<BodySectionContent.Builder,BodySectionContent>,SdkPojo
- Enclosing class:
- BodySectionContent
public static interface BodySectionContent.Builder extends SdkPojo, CopyableBuilder<BodySectionContent.Builder,BodySectionContent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default BodySectionContent.Builderlayout(Consumer<SectionLayoutConfiguration.Builder> layout)The layout configuration of a body section.BodySectionContent.Builderlayout(SectionLayoutConfiguration layout)The layout configuration 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 Detail
-
layout
BodySectionContent.Builder layout(SectionLayoutConfiguration layout)
The layout configuration of a body section.
- Parameters:
layout- The layout configuration of a body section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
layout
default BodySectionContent.Builder layout(Consumer<SectionLayoutConfiguration.Builder> layout)
The layout configuration of a body 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:
layout(SectionLayoutConfiguration)
-
-