Class UIColorPalette

java.lang.Object
software.amazon.awssdk.services.quicksight.model.UIColorPalette
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<UIColorPalette.Builder,UIColorPalette>

@Generated("software.amazon.awssdk:codegen") public final class UIColorPalette extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UIColorPalette.Builder,UIColorPalette>

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.

See Also:
  • Method Details

    • primaryForeground

      public final String primaryForeground()

      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.

      Returns:
      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.
    • primaryBackground

      public final String primaryBackground()

      The background color that applies to visuals and other high emphasis UI.

      Returns:
      The background color that applies to visuals and other high emphasis UI.
    • secondaryForeground

      public final String secondaryForeground()

      The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.

      Returns:
      The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.
    • secondaryBackground

      public final String secondaryBackground()

      The background color that applies to the sheet background and sheet controls.

      Returns:
      The background color that applies to the sheet background and sheet controls.
    • accent

      public final String accent()

      This color is that applies to selected states and buttons.

      Returns:
      This color is that applies to selected states and buttons.
    • accentForeground

      public final String accentForeground()

      The foreground color that applies to any text or other elements that appear over the accent color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the accent color.
    • danger

      public final String danger()

      The color that applies to error messages.

      Returns:
      The color that applies to error messages.
    • dangerForeground

      public final String dangerForeground()

      The foreground color that applies to any text or other elements that appear over the error color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the error color.
    • warning

      public final String warning()

      This color that applies to warning and informational messages.

      Returns:
      This color that applies to warning and informational messages.
    • warningForeground

      public final String warningForeground()

      The foreground color that applies to any text or other elements that appear over the warning color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the warning color.
    • success

      public final String success()

      The color that applies to success messages, for example the check mark for a successful download.

      Returns:
      The color that applies to success messages, for example the check mark for a successful download.
    • successForeground

      public final String successForeground()

      The foreground color that applies to any text or other elements that appear over the success color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the success color.
    • dimension

      public final String dimension()

      The color that applies to the names of fields that are identified as dimensions.

      Returns:
      The color that applies to the names of fields that are identified as dimensions.
    • dimensionForeground

      public final String dimensionForeground()

      The foreground color that applies to any text or other elements that appear over the dimension color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the dimension color.
    • measure

      public final String measure()

      The color that applies to the names of fields that are identified as measures.

      Returns:
      The color that applies to the names of fields that are identified as measures.
    • measureForeground

      public final String measureForeground()

      The foreground color that applies to any text or other elements that appear over the measure color.

      Returns:
      The foreground color that applies to any text or other elements that appear over the measure color.
    • toBuilder

      public UIColorPalette.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<UIColorPalette.Builder,UIColorPalette>
      Returns:
      a builder for type T
    • builder

      public static UIColorPalette.Builder builder()
    • serializableBuilderClass

      public static Class<? extends UIColorPalette.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.