Interface FreeFormSectionLayoutConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FreeFormSectionLayoutConfiguration.Builder,,FreeFormSectionLayoutConfiguration> SdkBuilder<FreeFormSectionLayoutConfiguration.Builder,,FreeFormSectionLayoutConfiguration> SdkPojo
- Enclosing class:
FreeFormSectionLayoutConfiguration
public static interface FreeFormSectionLayoutConfiguration.Builder
extends SdkPojo, CopyableBuilder<FreeFormSectionLayoutConfiguration.Builder,FreeFormSectionLayoutConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionelements(Collection<FreeFormLayoutElement> elements) The elements that are included in the free-form layout.elements(Consumer<FreeFormLayoutElement.Builder>... elements) The elements that are included in the free-form layout.elements(FreeFormLayoutElement... elements) The elements that are included in the free-form layout.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, sdkFields
-
Method Details
-
elements
The elements that are included in the free-form layout.
- Parameters:
elements- The elements that are included in the free-form layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
The elements that are included in the free-form layout.
- Parameters:
elements- The elements that are included in the free-form layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
FreeFormSectionLayoutConfiguration.Builder elements(Consumer<FreeFormLayoutElement.Builder>... elements) The elements that are included in the free-form layout.
This is a convenience method that creates an instance of theFreeFormLayoutElement.Builderavoiding the need to create one manually viaFreeFormLayoutElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toelements(List<FreeFormLayoutElement>).- Parameters:
elements- a consumer that will call methods onFreeFormLayoutElement.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-