Interface CfnDashboard.SectionBasedLayoutConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.SectionBasedLayoutConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.SectionBasedLayoutConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration for a section-based layout.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.quicksight.*; SectionBasedLayoutConfigurationProperty sectionBasedLayoutConfigurationProperty = SectionBasedLayoutConfigurationProperty.builder() .bodySections(List.of(BodySectionConfigurationProperty.builder() .content(BodySectionContentProperty.builder() .layout(SectionLayoutConfigurationProperty.builder() .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() .elements(List.of(FreeFormLayoutElementProperty.builder() .elementId("elementId") .elementType("elementType") .height("height") .width("width") .xAxisLocation("xAxisLocation") .yAxisLocation("yAxisLocation") // the properties below are optional .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() .color("color") .visibility("visibility") .build()) .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .loadingAnimation(LoadingAnimationProperty.builder() .visibility("visibility") .build()) .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() .visibility("visibility") .build()) .expression("expression") .build())) .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .visibility("visibility") .build())) .build()) .build()) .build()) .sectionId("sectionId") // the properties below are optional .pageBreakConfiguration(SectionPageBreakConfigurationProperty.builder() .after(SectionAfterPageBreakProperty.builder() .status("status") .build()) .build()) .style(SectionStyleProperty.builder() .height("height") .padding(SpacingProperty.builder() .bottom("bottom") .left("left") .right("right") .top("top") .build()) .build()) .build())) .canvasSizeOptions(SectionBasedLayoutCanvasSizeOptionsProperty.builder() .paperCanvasSizeOptions(SectionBasedLayoutPaperCanvasSizeOptionsProperty.builder() .paperMargin(SpacingProperty.builder() .bottom("bottom") .left("left") .right("right") .top("top") .build()) .paperOrientation("paperOrientation") .paperSize("paperSize") .build()) .build()) .footerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() .layout(SectionLayoutConfigurationProperty.builder() .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() .elements(List.of(FreeFormLayoutElementProperty.builder() .elementId("elementId") .elementType("elementType") .height("height") .width("width") .xAxisLocation("xAxisLocation") .yAxisLocation("yAxisLocation") // the properties below are optional .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() .color("color") .visibility("visibility") .build()) .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .loadingAnimation(LoadingAnimationProperty.builder() .visibility("visibility") .build()) .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() .visibility("visibility") .build()) .expression("expression") .build())) .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .visibility("visibility") .build())) .build()) .build()) .sectionId("sectionId") // the properties below are optional .style(SectionStyleProperty.builder() .height("height") .padding(SpacingProperty.builder() .bottom("bottom") .left("left") .right("right") .top("top") .build()) .build()) .build())) .headerSections(List.of(HeaderFooterSectionConfigurationProperty.builder() .layout(SectionLayoutConfigurationProperty.builder() .freeFormLayout(FreeFormSectionLayoutConfigurationProperty.builder() .elements(List.of(FreeFormLayoutElementProperty.builder() .elementId("elementId") .elementType("elementType") .height("height") .width("width") .xAxisLocation("xAxisLocation") .yAxisLocation("yAxisLocation") // the properties below are optional .backgroundStyle(FreeFormLayoutElementBackgroundStyleProperty.builder() .color("color") .visibility("visibility") .build()) .borderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .loadingAnimation(LoadingAnimationProperty.builder() .visibility("visibility") .build()) .renderingRules(List.of(SheetElementRenderingRuleProperty.builder() .configurationOverrides(SheetElementConfigurationOverridesProperty.builder() .visibility("visibility") .build()) .expression("expression") .build())) .selectedBorderStyle(FreeFormLayoutElementBorderStyleProperty.builder() .color("color") .visibility("visibility") .build()) .visibility("visibility") .build())) .build()) .build()) .sectionId("sectionId") // the properties below are optional .style(SectionStyleProperty.builder() .height("height") .padding(SpacingProperty.builder() .bottom("bottom") .left("left") .right("right") .top("top") .build()) .build()) .build())) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnDashboard.SectionBasedLayoutConfigurationProperty
static final class
An implementation forCfnDashboard.SectionBasedLayoutConfigurationProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A list of body section configurations.The options for the canvas of a section-based layout.A list of footer section configurations.A list of header section configurations.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBodySections
A list of body section configurations.- See Also:
-
getCanvasSizeOptions
The options for the canvas of a section-based layout.- See Also:
-
getHeaderSections
A list of header section configurations.- See Also:
-
builder
-