Interface BodySectionContent.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<BodySectionContent.Builder,,BodySectionContent> SdkBuilder<BodySectionContent.Builder,,BodySectionContent> SdkPojo
- Enclosing class:
BodySectionContent
@Mutable
@NotThreadSafe
public static interface BodySectionContent.Builder
extends SdkPojo, CopyableBuilder<BodySectionContent.Builder,BodySectionContent>
-
Method Summary
Modifier and TypeMethodDescriptiondefault BodySectionContent.BuilderThe 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
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
-
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.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:
-