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