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
Modifier and TypeMethodDescriptiondefault BodySectionContent.Builder
The layout configuration of a body section.layout
(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 Details
-
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
The layout configuration of a body section.
This is a convenience method that creates an instance of theSectionLayoutConfiguration.Builder
avoiding the need to create one manually viaSectionLayoutConfiguration.builder()
.When the
Consumer
completes,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:
-