Class CfnDashboard.GridLayoutConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.GridLayoutConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.GridLayoutConfigurationProperty>
- Enclosing interface:
CfnDashboard.GridLayoutConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.GridLayoutConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.GridLayoutConfigurationProperty>
A builder for
CfnDashboard.GridLayoutConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.canvasSizeOptions(IResolvable canvasSizeOptions) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getCanvasSizeOptions()canvasSizeOptions(CfnDashboard.GridLayoutCanvasSizeOptionsProperty canvasSizeOptions) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getCanvasSizeOptions()Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getElements()elements(IResolvable elements) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getElements()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
elements
@Stability(Stable) public CfnDashboard.GridLayoutConfigurationProperty.Builder elements(IResolvable elements) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getElements()- Parameters:
elements- The elements that are included in a grid layout. This parameter is required.- Returns:
this
-
elements
@Stability(Stable) public CfnDashboard.GridLayoutConfigurationProperty.Builder elements(List<? extends Object> elements) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getElements()- Parameters:
elements- The elements that are included in a grid layout. This parameter is required.- Returns:
this
-
canvasSizeOptions
@Stability(Stable) public CfnDashboard.GridLayoutConfigurationProperty.Builder canvasSizeOptions(IResolvable canvasSizeOptions) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getCanvasSizeOptions()- Parameters:
canvasSizeOptions- the value to be set.- Returns:
this
-
canvasSizeOptions
@Stability(Stable) public CfnDashboard.GridLayoutConfigurationProperty.Builder canvasSizeOptions(CfnDashboard.GridLayoutCanvasSizeOptionsProperty canvasSizeOptions) Sets the value ofCfnDashboard.GridLayoutConfigurationProperty.getCanvasSizeOptions()- Parameters:
canvasSizeOptions- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDashboard.GridLayoutConfigurationProperty>- Returns:
- a new instance of
CfnDashboard.GridLayoutConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-