Interface SectionBasedLayoutPaperCanvasSizeOptions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>,SdkBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>,SdkPojo
- Enclosing class:
- SectionBasedLayoutPaperCanvasSizeOptions
@Mutable @NotThreadSafe public static interface SectionBasedLayoutPaperCanvasSizeOptions.Builder extends SdkPojo, CopyableBuilder<SectionBasedLayoutPaperCanvasSizeOptions.Builder,SectionBasedLayoutPaperCanvasSizeOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperMargin(Consumer<Spacing.Builder> paperMargin)Defines the spacing between the canvas content and the top, bottom, left, and right edges.SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperMargin(Spacing paperMargin)Defines the spacing between the canvas content and the top, bottom, left, and right edges.SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperOrientation(String paperOrientation)The paper orientation that is used to define canvas dimensions.SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperOrientation(PaperOrientation paperOrientation)The paper orientation that is used to define canvas dimensions.SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperSize(String paperSize)The paper size that is used to define canvas dimensions.SectionBasedLayoutPaperCanvasSizeOptions.BuilderpaperSize(PaperSize paperSize)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
paperSize
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperSize(String paperSize)
The paper size that is used to define canvas dimensions.
-
paperSize
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperSize(PaperSize paperSize)
The paper size that is used to define canvas dimensions.
-
paperOrientation
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperOrientation(String 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,PaperOrientation
-
-
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:
PaperOrientation,PaperOrientation
-
-
paperMargin
SectionBasedLayoutPaperCanvasSizeOptions.Builder paperMargin(Spacing 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.Builderavoiding the need to create one manually viaSpacing.builder().When the
Consumercompletes,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:
paperMargin(Spacing)
-
-