Interface FreeFormLayoutConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FreeFormLayoutConfiguration.Builder,
,FreeFormLayoutConfiguration> SdkBuilder<FreeFormLayoutConfiguration.Builder,
,FreeFormLayoutConfiguration> SdkPojo
- Enclosing class:
FreeFormLayoutConfiguration
public static interface FreeFormLayoutConfiguration.Builder
extends SdkPojo, CopyableBuilder<FreeFormLayoutConfiguration.Builder,FreeFormLayoutConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptioncanvasSizeOptions
(Consumer<FreeFormLayoutCanvasSizeOptions.Builder> canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object.canvasSizeOptions
(FreeFormLayoutCanvasSizeOptions canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object.elements
(Collection<FreeFormLayoutElement> elements) The elements that are included in a free-form layout.elements
(Consumer<FreeFormLayoutElement.Builder>... elements) The elements that are included in a free-form layout.elements
(FreeFormLayoutElement... elements) The elements that are included in a free-form layout.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
-
elements
The elements that are included in a free-form layout.
- Parameters:
elements
- The elements that are included in a 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 a free-form layout.
- Parameters:
elements
- The elements that are included in a 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 a free-form layout.
This is a convenience method that creates an instance of theFreeFormLayoutElement.Builder
avoiding the need to create one manually viaFreeFormLayoutElement.builder()
.When the
Consumer
completes,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:
-
canvasSizeOptions
FreeFormLayoutConfiguration.Builder canvasSizeOptions(FreeFormLayoutCanvasSizeOptions canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object.- Parameters:
canvasSizeOptions
- The new value for the CanvasSizeOptions property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
canvasSizeOptions
default FreeFormLayoutConfiguration.Builder canvasSizeOptions(Consumer<FreeFormLayoutCanvasSizeOptions.Builder> canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object. This is a convenience method that creates an instance of theFreeFormLayoutCanvasSizeOptions.Builder
avoiding the need to create one manually viaFreeFormLayoutCanvasSizeOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanvasSizeOptions(FreeFormLayoutCanvasSizeOptions)
.- Parameters:
canvasSizeOptions
- a consumer that will call methods onFreeFormLayoutCanvasSizeOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-