Interface GridLayoutConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<GridLayoutConfiguration.Builder,
,GridLayoutConfiguration> SdkBuilder<GridLayoutConfiguration.Builder,
,GridLayoutConfiguration> SdkPojo
- Enclosing class:
GridLayoutConfiguration
public static interface GridLayoutConfiguration.Builder
extends SdkPojo, CopyableBuilder<GridLayoutConfiguration.Builder,GridLayoutConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GridLayoutConfiguration.Builder
canvasSizeOptions
(Consumer<GridLayoutCanvasSizeOptions.Builder> canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object.canvasSizeOptions
(GridLayoutCanvasSizeOptions canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object.elements
(Collection<GridLayoutElement> elements) The elements that are included in a grid layout.elements
(Consumer<GridLayoutElement.Builder>... elements) The elements that are included in a grid layout.elements
(GridLayoutElement... elements) The elements that are included in a grid 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 grid layout.
- Parameters:
elements
- The elements that are included in a grid layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
The elements that are included in a grid layout.
- Parameters:
elements
- The elements that are included in a grid layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elements
The elements that are included in a grid layout.
This is a convenience method that creates an instance of theGridLayoutElement.Builder
avoiding the need to create one manually viaGridLayoutElement.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toelements(List<GridLayoutElement>)
.- Parameters:
elements
- a consumer that will call methods onGridLayoutElement.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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 GridLayoutConfiguration.Builder canvasSizeOptions(Consumer<GridLayoutCanvasSizeOptions.Builder> canvasSizeOptions) Sets the value of the CanvasSizeOptions property for this object. This is a convenience method that creates an instance of theGridLayoutCanvasSizeOptions.Builder
avoiding the need to create one manually viaGridLayoutCanvasSizeOptions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocanvasSizeOptions(GridLayoutCanvasSizeOptions)
.- Parameters:
canvasSizeOptions
- a consumer that will call methods onGridLayoutCanvasSizeOptions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-