Interface CfnTheme.UIColorPaletteProperty

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

@Stability(Stable) public static interface CfnTheme.UIColorPaletteProperty extends software.amazon.jsii.JsiiSerializable
The theme colors that apply to UI and to charts, excluding data colors.

The colors description is a hexadecimal color code that consists of six alphanumerical characters, prefixed with # , for example #37BFF5. For more information, see Using Themes in Amazon QuickSight in the Amazon QuickSight User Guide.

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.*;
 UIColorPaletteProperty uIColorPaletteProperty = UIColorPaletteProperty.builder()
         .accent("accent")
         .accentForeground("accentForeground")
         .danger("danger")
         .dangerForeground("dangerForeground")
         .dimension("dimension")
         .dimensionForeground("dimensionForeground")
         .measure("measure")
         .measureForeground("measureForeground")
         .primaryBackground("primaryBackground")
         .primaryForeground("primaryForeground")
         .secondaryBackground("secondaryBackground")
         .secondaryForeground("secondaryForeground")
         .success("success")
         .successForeground("successForeground")
         .warning("warning")
         .warningForeground("warningForeground")
         .build();
 
  • Method Details

    • getAccent

      @Stability(Stable) @Nullable default String getAccent()
      This color is that applies to selected states and buttons.
    • getAccentForeground

      @Stability(Stable) @Nullable default String getAccentForeground()
      The foreground color that applies to any text or other elements that appear over the accent color.
    • getDanger

      @Stability(Stable) @Nullable default String getDanger()
      The color that applies to error messages.
    • getDangerForeground

      @Stability(Stable) @Nullable default String getDangerForeground()
      The foreground color that applies to any text or other elements that appear over the error color.
    • getDimension

      @Stability(Stable) @Nullable default String getDimension()
      The color that applies to the names of fields that are identified as dimensions.
    • getDimensionForeground

      @Stability(Stable) @Nullable default String getDimensionForeground()
      The foreground color that applies to any text or other elements that appear over the dimension color.
    • getMeasure

      @Stability(Stable) @Nullable default String getMeasure()
      The color that applies to the names of fields that are identified as measures.
    • getMeasureForeground

      @Stability(Stable) @Nullable default String getMeasureForeground()
      The foreground color that applies to any text or other elements that appear over the measure color.
    • getPrimaryBackground

      @Stability(Stable) @Nullable default String getPrimaryBackground()
      The background color that applies to visuals and other high emphasis UI.
    • getPrimaryForeground

      @Stability(Stable) @Nullable default String getPrimaryForeground()
      The color of text and other foreground elements that appear over the primary background regions, such as grid lines, borders, table banding, icons, and so on.
    • getSecondaryBackground

      @Stability(Stable) @Nullable default String getSecondaryBackground()
      The background color that applies to the sheet background and sheet controls.
    • getSecondaryForeground

      @Stability(Stable) @Nullable default String getSecondaryForeground()
      The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
    • getSuccess

      @Stability(Stable) @Nullable default String getSuccess()
      The color that applies to success messages, for example the check mark for a successful download.
    • getSuccessForeground

      @Stability(Stable) @Nullable default String getSuccessForeground()
      The foreground color that applies to any text or other elements that appear over the success color.
    • getWarning

      @Stability(Stable) @Nullable default String getWarning()
      This color that applies to warning and informational messages.
    • getWarningForeground

      @Stability(Stable) @Nullable default String getWarningForeground()
      The foreground color that applies to any text or other elements that appear over the warning color.
    • builder

      @Stability(Stable) static CfnTheme.UIColorPaletteProperty.Builder builder()
      Returns:
      a CfnTheme.UIColorPaletteProperty.Builder of CfnTheme.UIColorPaletteProperty