Interface GridLayoutCanvasSizeOptions.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GridLayoutCanvasSizeOptions.Builder,,GridLayoutCanvasSizeOptions> SdkBuilder<GridLayoutCanvasSizeOptions.Builder,,GridLayoutCanvasSizeOptions> SdkPojo
- Enclosing class:
GridLayoutCanvasSizeOptions
public static interface GridLayoutCanvasSizeOptions.Builder
extends SdkPojo, CopyableBuilder<GridLayoutCanvasSizeOptions.Builder,GridLayoutCanvasSizeOptions>
-
Method Summary
Modifier and TypeMethodDescriptionscreenCanvasSizeOptions(Consumer<GridLayoutScreenCanvasSizeOptions.Builder> screenCanvasSizeOptions) The options that determine the sizing of the canvas used in a grid layout.screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptions screenCanvasSizeOptions) The options that determine the sizing of the canvas used in a grid 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
-
screenCanvasSizeOptions
GridLayoutCanvasSizeOptions.Builder screenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptions screenCanvasSizeOptions) The options that determine the sizing of the canvas used in a grid layout.
- Parameters:
screenCanvasSizeOptions- The options that determine the sizing of the canvas used in a grid layout.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
screenCanvasSizeOptions
default GridLayoutCanvasSizeOptions.Builder screenCanvasSizeOptions(Consumer<GridLayoutScreenCanvasSizeOptions.Builder> screenCanvasSizeOptions) The options that determine the sizing of the canvas used in a grid layout.
This is a convenience method that creates an instance of theGridLayoutScreenCanvasSizeOptions.Builderavoiding the need to create one manually viaGridLayoutScreenCanvasSizeOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscreenCanvasSizeOptions(GridLayoutScreenCanvasSizeOptions).- Parameters:
screenCanvasSizeOptions- a consumer that will call methods onGridLayoutScreenCanvasSizeOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-