Class CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.quicksight.CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplatePropsMixin.LayoutConfigurationProperty>
- Enclosing interface:
CfnTemplatePropsMixin.LayoutConfigurationProperty
@Stability(Stable)
public static final class CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplatePropsMixin.LayoutConfigurationProperty>
A builder for
CfnTemplatePropsMixin.LayoutConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplatePropsMixin.LayoutConfigurationProperty.getFreeFormLayout()freeFormLayout(IResolvable freeFormLayout) Sets the value ofCfnTemplatePropsMixin.LayoutConfigurationProperty.getFreeFormLayout()Sets the value ofCfnTemplatePropsMixin.LayoutConfigurationProperty.getGridLayout()gridLayout(IResolvable gridLayout) Sets the value ofCfnTemplatePropsMixin.LayoutConfigurationProperty.getGridLayout()sectionBasedLayout(CfnTemplatePropsMixin.SectionBasedLayoutConfigurationProperty sectionBasedLayout) sectionBasedLayout(IResolvable sectionBasedLayout)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
freeFormLayout
@Stability(Stable) public CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder freeFormLayout(IResolvable freeFormLayout) Sets the value ofCfnTemplatePropsMixin.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 CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder freeFormLayout(CfnTemplatePropsMixin.FreeFormLayoutConfigurationProperty freeFormLayout) Sets the value ofCfnTemplatePropsMixin.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 CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder gridLayout(IResolvable gridLayout) Sets the value ofCfnTemplatePropsMixin.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:FIXEDorRESPONSIVE.- Returns:
this
-
gridLayout
@Stability(Stable) public CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder gridLayout(CfnTemplatePropsMixin.GridLayoutConfigurationProperty gridLayout) Sets the value ofCfnTemplatePropsMixin.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:FIXEDorRESPONSIVE.- Returns:
this
-
sectionBasedLayout
@Stability(Stable) public CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder sectionBasedLayout(IResolvable sectionBasedLayout) - 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 CfnTemplatePropsMixin.LayoutConfigurationProperty.Builder sectionBasedLayout(CfnTemplatePropsMixin.SectionBasedLayoutConfigurationProperty sectionBasedLayout) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplatePropsMixin.LayoutConfigurationProperty>- Returns:
- a new instance of
CfnTemplatePropsMixin.LayoutConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-