Class CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty>
- Enclosing interface:
CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty>
A builder for
CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.optimizedViewPortWidth(String optimizedViewPortWidth) resizeOption(String resizeOption) Sets the value ofCfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.getResizeOption()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resizeOption
@Stability(Stable) public CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.Builder resizeOption(String resizeOption) Sets the value ofCfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.getResizeOption()- Parameters:
resizeOption- This value determines the layout behavior when the viewport is resized. This parameter is required.FIXED: A fixed width will be used when optimizing the layout. In the Quick Sight console, this option is calledClassic.RESPONSIVE: The width of the canvas will be responsive and optimized to the view port. In the Quick Sight console, this option is calledTiled.
- Returns:
this
-
optimizedViewPortWidth
@Stability(Stable) public CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty.Builder optimizedViewPortWidth(String optimizedViewPortWidth) - Parameters:
optimizedViewPortWidth- The width that the view port will be optimized for when the layout renders.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty>- Returns:
- a new instance of
CfnTemplate.GridLayoutScreenCanvasSizeOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-