Interface CfnDashboard.BodySectionConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDashboard.BodySectionConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnDashboard
@Stability(Stable)
public static interface CfnDashboard.BodySectionConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
The configuration of a body section.
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.*;
BodySectionConfigurationProperty bodySectionConfigurationProperty = 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())
.repeatConfiguration(BodySectionRepeatConfigurationProperty.builder()
.dimensionConfigurations(List.of(BodySectionRepeatDimensionConfigurationProperty.builder()
.dynamicCategoryDimensionConfiguration(BodySectionDynamicCategoryDimensionConfigurationProperty.builder()
.column(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
// the properties below are optional
.limit(123)
.sortByMetrics(List.of(ColumnSortProperty.builder()
.direction("direction")
.sortBy(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
// the properties below are optional
.aggregationFunction(AggregationFunctionProperty.builder()
.attributeAggregationFunction(AttributeAggregationFunctionProperty.builder()
.simpleAttributeAggregation("simpleAttributeAggregation")
.valueForMultipleValues("valueForMultipleValues")
.build())
.categoricalAggregationFunction("categoricalAggregationFunction")
.dateAggregationFunction("dateAggregationFunction")
.numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
.percentileAggregation(PercentileAggregationProperty.builder()
.percentileValue(123)
.build())
.simpleNumericalAggregation("simpleNumericalAggregation")
.build())
.build())
.build()))
.build())
.dynamicNumericDimensionConfiguration(BodySectionDynamicNumericDimensionConfigurationProperty.builder()
.column(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
// the properties below are optional
.limit(123)
.sortByMetrics(List.of(ColumnSortProperty.builder()
.direction("direction")
.sortBy(ColumnIdentifierProperty.builder()
.columnName("columnName")
.dataSetIdentifier("dataSetIdentifier")
.build())
// the properties below are optional
.aggregationFunction(AggregationFunctionProperty.builder()
.attributeAggregationFunction(AttributeAggregationFunctionProperty.builder()
.simpleAttributeAggregation("simpleAttributeAggregation")
.valueForMultipleValues("valueForMultipleValues")
.build())
.categoricalAggregationFunction("categoricalAggregationFunction")
.dateAggregationFunction("dateAggregationFunction")
.numericalAggregationFunction(NumericalAggregationFunctionProperty.builder()
.percentileAggregation(PercentileAggregationProperty.builder()
.percentileValue(123)
.build())
.simpleNumericalAggregation("simpleNumericalAggregation")
.build())
.build())
.build()))
.build())
.build()))
.nonRepeatingVisuals(List.of("nonRepeatingVisuals"))
.pageBreakConfiguration(BodySectionRepeatPageBreakConfigurationProperty.builder()
.after(SectionAfterPageBreakProperty.builder()
.status("status")
.build())
.build())
.build())
.style(SectionStyleProperty.builder()
.height("height")
.padding(SpacingProperty.builder()
.bottom("bottom")
.left("left")
.right("right")
.top("top")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDashboard.BodySectionConfigurationPropertystatic final classAn implementation forCfnDashboard.BodySectionConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The configuration of content in a body section.default ObjectThe configuration of a page break for a section.default ObjectDescribes the configurations that are required to declare a section as repeating.The unique identifier of a body section.default ObjectgetStyle()The style options of a body section.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getContent
The configuration of content in a body section.Returns union: either
IResolvableorCfnDashboard.BodySectionContentProperty- See Also:
-
getSectionId
The unique identifier of a body section.- See Also:
-
getPageBreakConfiguration
The configuration of a page break for a section.Returns union: either
IResolvableorCfnDashboard.SectionPageBreakConfigurationProperty- See Also:
-
getRepeatConfiguration
Describes the configurations that are required to declare a section as repeating.Returns union: either
IResolvableorCfnDashboard.BodySectionRepeatConfigurationProperty- See Also:
-
getStyle
The style options of a body section.Returns union: either
IResolvableorCfnDashboard.SectionStyleProperty- See Also:
-
builder
-