Class CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty>
- Enclosing interface:
CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty
@Stability(Stable)
public static final class CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.paperMargin
(IResolvable paperMargin) paperMargin
(CfnAnalysis.SpacingProperty paperMargin) paperOrientation
(String paperOrientation)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
paperMargin
@Stability(Stable) public CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder paperMargin(IResolvable paperMargin) - Parameters:
paperMargin
- Defines the spacing between the canvas content and the top, bottom, left, and right edges.- Returns:
this
-
paperMargin
@Stability(Stable) public CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder paperMargin(CfnAnalysis.SpacingProperty paperMargin) - Parameters:
paperMargin
- Defines the spacing between the canvas content and the top, bottom, left, and right edges.- Returns:
this
-
paperOrientation
@Stability(Stable) public CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder paperOrientation(String paperOrientation) Sets the value ofCfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.getPaperOrientation()
- Parameters:
paperOrientation
- The paper orientation that is used to define canvas dimensions. Choose one of the following options:.- PORTRAIT
- LANDSCAPE
- Returns:
this
-
paperSize
@Stability(Stable) public CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty.Builder paperSize(String paperSize) - Parameters:
paperSize
- The paper size that is used to define canvas dimensions.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty>
- Returns:
- a new instance of
CfnAnalysis.SectionBasedLayoutPaperCanvasSizeOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-