Interface SectionLayoutConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SectionLayoutConfiguration.Builder,,SectionLayoutConfiguration> SdkBuilder<SectionLayoutConfiguration.Builder,,SectionLayoutConfiguration> SdkPojo
- Enclosing class:
SectionLayoutConfiguration
@Mutable
@NotThreadSafe
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
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
-
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.Builderavoiding the need to create one manually viaFreeFormSectionLayoutConfiguration.builder().When the
Consumercompletes,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:
-