Interface SectionBasedLayoutPaperCanvasSizeOptions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,
,SectionBasedLayoutPaperCanvasSizeOptions> SdkBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,
,SectionBasedLayoutPaperCanvasSizeOptions> SdkPojo
- Enclosing class:
SectionBasedLayoutPaperCanvasSizeOptions
-
Method Summary
Modifier and TypeMethodDescriptionpaperMargin
(Consumer<Spacing.Builder> paperMargin) Defines the spacing between the canvas content and the top, bottom, left, and right edges.paperMargin
(Spacing paperMargin) Defines the spacing between the canvas content and the top, bottom, left, and right edges.paperOrientation
(String paperOrientation) The paper orientation that is used to define canvas dimensions.paperOrientation
(PaperOrientation paperOrientation) The paper orientation that is used to define canvas dimensions.The paper size that is used to define canvas dimensions.The paper size that is used to define canvas dimensions.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
-
paperSize
The paper size that is used to define canvas dimensions.
- Parameters:
paperSize
- The paper size that is used to define canvas dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paperSize
The paper size that is used to define canvas dimensions.
- Parameters:
paperSize
- The paper size that is used to define canvas dimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
paperOrientation
The paper orientation that is used to define canvas dimensions. Choose one of the following options:
-
PORTRAIT
-
LANDSCAPE
- Parameters:
paperOrientation
- The paper orientation that is used to define canvas dimensions. Choose one of the following options:-
PORTRAIT
-
LANDSCAPE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
paperOrientation
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperOrientation(PaperOrientation paperOrientation) The paper orientation that is used to define canvas dimensions. Choose one of the following options:
-
PORTRAIT
-
LANDSCAPE
- Parameters:
paperOrientation
- The paper orientation that is used to define canvas dimensions. Choose one of the following options:-
PORTRAIT
-
LANDSCAPE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
paperMargin
Defines the spacing between the canvas content and the top, bottom, left, and right edges.
- Parameters:
paperMargin
- Defines the spacing between the canvas content and the top, bottom, left, and right edges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paperMargin
default SectionBasedLayoutPaperCanvasSizeOptions.Builder paperMargin(Consumer<Spacing.Builder> paperMargin) Defines the spacing between the canvas content and the top, bottom, left, and right edges.
This is a convenience method that creates an instance of theSpacing.Builder
avoiding the need to create one manually viaSpacing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topaperMargin(Spacing)
.- Parameters:
paperMargin
- a consumer that will call methods onSpacing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-