Interface SectionLayoutConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SectionLayoutConfiguration.Builder,
,SectionLayoutConfiguration> SdkBuilder<SectionLayoutConfiguration.Builder,
,SectionLayoutConfiguration> SdkPojo
- Enclosing class:
SectionLayoutConfiguration
public static interface SectionLayoutConfiguration.Builder
extends SdkPojo, CopyableBuilder<SectionLayoutConfiguration.Builder,SectionLayoutConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionfreeFormLayout
(Consumer<FreeFormSectionLayoutConfiguration.Builder> freeFormLayout) The free-form layout configuration of a section.freeFormLayout
(FreeFormSectionLayoutConfiguration freeFormLayout) The free-form layout configuration of a 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
-
freeFormLayout
SectionLayoutConfiguration.Builder freeFormLayout(FreeFormSectionLayoutConfiguration freeFormLayout) The free-form layout configuration of a section.
- Parameters:
freeFormLayout
- The free-form layout configuration of a section.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
freeFormLayout
default SectionLayoutConfiguration.Builder freeFormLayout(Consumer<FreeFormSectionLayoutConfiguration.Builder> freeFormLayout) The free-form layout configuration of a section.
This is a convenience method that creates an instance of theFreeFormSectionLayoutConfiguration.Builder
avoiding the need to create one manually viaFreeFormSectionLayoutConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofreeFormLayout(FreeFormSectionLayoutConfiguration)
.- Parameters:
freeFormLayout
- a consumer that will call methods onFreeFormSectionLayoutConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-