Class CfnTemplate.LayoutConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.LayoutConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.LayoutConfigurationProperty>
- Enclosing interface:
CfnTemplate.LayoutConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.LayoutConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.LayoutConfigurationProperty>
A builder for
CfnTemplate.LayoutConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.freeFormLayout
(IResolvable freeFormLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getFreeFormLayout()
freeFormLayout
(CfnTemplate.FreeFormLayoutConfigurationProperty freeFormLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getFreeFormLayout()
gridLayout
(IResolvable gridLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getGridLayout()
Sets the value ofCfnTemplate.LayoutConfigurationProperty.getGridLayout()
sectionBasedLayout
(IResolvable sectionBasedLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getSectionBasedLayout()
sectionBasedLayout
(CfnTemplate.SectionBasedLayoutConfigurationProperty sectionBasedLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getSectionBasedLayout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
freeFormLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder freeFormLayout(IResolvable freeFormLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getFreeFormLayout()
- Parameters:
freeFormLayout
- A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.- Returns:
this
-
freeFormLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder freeFormLayout(CfnTemplate.FreeFormLayoutConfigurationProperty freeFormLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getFreeFormLayout()
- Parameters:
freeFormLayout
- A free-form is optimized for a fixed width and has more control over the exact placement of layout elements.- Returns:
this
-
gridLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder gridLayout(IResolvable gridLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getGridLayout()
- Parameters:
gridLayout
- A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized:FIXED
orRESPONSIVE
.- Returns:
this
-
gridLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder gridLayout(CfnTemplate.GridLayoutConfigurationProperty gridLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getGridLayout()
- Parameters:
gridLayout
- A type of layout that can be used on a sheet. In a grid layout, visuals snap to a grid with standard spacing and alignment. Dashboards are displayed as designed, with options to fit to screen or view at actual size. A grid layout can be configured to behave in one of two ways when the viewport is resized:FIXED
orRESPONSIVE
.- Returns:
this
-
sectionBasedLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder sectionBasedLayout(IResolvable sectionBasedLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getSectionBasedLayout()
- Parameters:
sectionBasedLayout
- A section based layout organizes visuals into multiple sections and has customized header, footer and page break.- Returns:
this
-
sectionBasedLayout
@Stability(Stable) public CfnTemplate.LayoutConfigurationProperty.Builder sectionBasedLayout(CfnTemplate.SectionBasedLayoutConfigurationProperty sectionBasedLayout) Sets the value ofCfnTemplate.LayoutConfigurationProperty.getSectionBasedLayout()
- Parameters:
sectionBasedLayout
- A section based layout organizes visuals into multiple sections and has customized header, footer and page break.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.LayoutConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.LayoutConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-