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