Interface GridLayoutConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<GridLayoutConfiguration.Builder,GridLayoutConfiguration>,SdkBuilder<GridLayoutConfiguration.Builder,GridLayoutConfiguration>,SdkPojo
- Enclosing class:
- GridLayoutConfiguration
@Mutable @NotThreadSafe public static interface GridLayoutConfiguration.Builder extends SdkPojo, CopyableBuilder<GridLayoutConfiguration.Builder,GridLayoutConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GridLayoutConfiguration.BuildercanvasSizeOptions(Consumer<GridLayoutCanvasSizeOptions.Builder> canvasSizeOptions)Sets the value of the CanvasSizeOptions property for this object.GridLayoutConfiguration.BuildercanvasSizeOptions(GridLayoutCanvasSizeOptions canvasSizeOptions)Sets the value of the CanvasSizeOptions property for this object.GridLayoutConfiguration.Builderelements(Collection<GridLayoutElement> elements)The elements that are included in a grid layout.GridLayoutConfiguration.Builderelements(Consumer<GridLayoutElement.Builder>... elements)The elements that are included in a grid layout.GridLayoutConfiguration.Builderelements(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
elements
GridLayoutConfiguration.Builder elements(Collection<GridLayoutElement> 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
GridLayoutConfiguration.Builder elements(GridLayoutElement... 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
GridLayoutConfiguration.Builder elements(Consumer<GridLayoutElement.Builder>... elements)
The elements that are included in a grid layout.
This is a convenience method that creates an instance of theGridLayoutElement.Builderavoiding the need to create one manually viaGridLayoutElement.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#elements(List.) - 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:
#elements(java.util.Collection)
-
canvasSizeOptions
GridLayoutConfiguration.Builder canvasSizeOptions(GridLayoutCanvasSizeOptions 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.Builderavoiding the need to create one manually viaGridLayoutCanvasSizeOptions.builder().When the
Consumercompletes,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:
canvasSizeOptions(GridLayoutCanvasSizeOptions)
-
-