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