Interface CfnAnalysis.FreeFormLayoutElementProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAnalysis.FreeFormLayoutElementProperty.Jsii$Proxy
Enclosing class:
CfnAnalysis

@Stability(Stable) public static interface CfnAnalysis.FreeFormLayoutElementProperty extends software.amazon.jsii.JsiiSerializable
An element within a free-form 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.*;
 FreeFormLayoutElementProperty freeFormLayoutElementProperty = 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();
 
  • Method Details

    • getElementId

      @Stability(Stable) @NotNull String getElementId()
      A unique identifier for an element within a free-form layout.
    • getElementType

      @Stability(Stable) @NotNull String getElementType()
      The type of element.
    • getHeight

      @Stability(Stable) @NotNull String getHeight()
      The height of an element within a free-form layout.
    • getWidth

      @Stability(Stable) @NotNull String getWidth()
      The width of an element within a free-form layout.
    • getXAxisLocation

      @Stability(Stable) @NotNull String getXAxisLocation()
      The x-axis coordinate of the element.
    • getYAxisLocation

      @Stability(Stable) @NotNull String getYAxisLocation()
      The y-axis coordinate of the element.
    • getBackgroundStyle

      @Stability(Stable) @Nullable default Object getBackgroundStyle()
      The background style configuration of a free-form layout element.
    • getBorderStyle

      @Stability(Stable) @Nullable default Object getBorderStyle()
      The border style configuration of a free-form layout element.
    • getLoadingAnimation

      @Stability(Stable) @Nullable default Object getLoadingAnimation()
      The loading animation configuration of a free-form layout element.
    • getRenderingRules

      @Stability(Stable) @Nullable default Object getRenderingRules()
      The rendering rules that determine when an element should be displayed within a free-form layout.
    • getSelectedBorderStyle

      @Stability(Stable) @Nullable default Object getSelectedBorderStyle()
      The border style configuration of a free-form layout element.

      This border style is used when the element is selected.

    • getVisibility

      @Stability(Stable) @Nullable default String getVisibility()
      The visibility of an element within a free-form layout.
    • builder

      @Stability(Stable) static CfnAnalysis.FreeFormLayoutElementProperty.Builder builder()
      Returns:
      a CfnAnalysis.FreeFormLayoutElementProperty.Builder of CfnAnalysis.FreeFormLayoutElementProperty