public static final class CfnTheme.UIColorPaletteProperty.Builder
extends java.lang.Object
CfnTheme.UIColorPaletteProperty
Constructor and Description |
---|
Builder() |
public CfnTheme.UIColorPaletteProperty.Builder accent(java.lang.String accent)
CfnTheme.UIColorPaletteProperty.getAccent()
accent
- This color is that applies to selected states and buttons.this
public CfnTheme.UIColorPaletteProperty.Builder accentForeground(java.lang.String accentForeground)
CfnTheme.UIColorPaletteProperty.getAccentForeground()
accentForeground
- The foreground color that applies to any text or other elements that appear over the accent color.this
public CfnTheme.UIColorPaletteProperty.Builder danger(java.lang.String danger)
CfnTheme.UIColorPaletteProperty.getDanger()
danger
- The color that applies to error messages.this
public CfnTheme.UIColorPaletteProperty.Builder dangerForeground(java.lang.String dangerForeground)
CfnTheme.UIColorPaletteProperty.getDangerForeground()
dangerForeground
- The foreground color that applies to any text or other elements that appear over the error color.this
public CfnTheme.UIColorPaletteProperty.Builder dimension(java.lang.String dimension)
CfnTheme.UIColorPaletteProperty.getDimension()
dimension
- The color that applies to the names of fields that are identified as dimensions.this
public CfnTheme.UIColorPaletteProperty.Builder dimensionForeground(java.lang.String dimensionForeground)
CfnTheme.UIColorPaletteProperty.getDimensionForeground()
dimensionForeground
- The foreground color that applies to any text or other elements that appear over the dimension color.this
public CfnTheme.UIColorPaletteProperty.Builder measure(java.lang.String measure)
CfnTheme.UIColorPaletteProperty.getMeasure()
measure
- The color that applies to the names of fields that are identified as measures.this
public CfnTheme.UIColorPaletteProperty.Builder measureForeground(java.lang.String measureForeground)
CfnTheme.UIColorPaletteProperty.getMeasureForeground()
measureForeground
- The foreground color that applies to any text or other elements that appear over the measure color.this
public CfnTheme.UIColorPaletteProperty.Builder primaryBackground(java.lang.String primaryBackground)
CfnTheme.UIColorPaletteProperty.getPrimaryBackground()
primaryBackground
- The background color that applies to visuals and other high emphasis UI.this
public CfnTheme.UIColorPaletteProperty.Builder primaryForeground(java.lang.String primaryForeground)
CfnTheme.UIColorPaletteProperty.getPrimaryForeground()
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.this
public CfnTheme.UIColorPaletteProperty.Builder secondaryBackground(java.lang.String secondaryBackground)
CfnTheme.UIColorPaletteProperty.getSecondaryBackground()
secondaryBackground
- The background color that applies to the sheet background and sheet controls.this
public CfnTheme.UIColorPaletteProperty.Builder secondaryForeground(java.lang.String secondaryForeground)
CfnTheme.UIColorPaletteProperty.getSecondaryForeground()
secondaryForeground
- The foreground color that applies to any sheet title, sheet control text, or UI that appears over the secondary background.this
public CfnTheme.UIColorPaletteProperty.Builder success(java.lang.String success)
CfnTheme.UIColorPaletteProperty.getSuccess()
success
- The color that applies to success messages, for example the check mark for a successful download.this
public CfnTheme.UIColorPaletteProperty.Builder successForeground(java.lang.String successForeground)
CfnTheme.UIColorPaletteProperty.getSuccessForeground()
successForeground
- The foreground color that applies to any text or other elements that appear over the success color.this
public CfnTheme.UIColorPaletteProperty.Builder warning(java.lang.String warning)
CfnTheme.UIColorPaletteProperty.getWarning()
warning
- This color that applies to warning and informational messages.this
public CfnTheme.UIColorPaletteProperty.Builder warningForeground(java.lang.String warningForeground)
CfnTheme.UIColorPaletteProperty.getWarningForeground()
warningForeground
- The foreground color that applies to any text or other elements that appear over the warning color.this
public CfnTheme.UIColorPaletteProperty build()
CfnTheme.UIColorPaletteProperty
java.lang.NullPointerException
- if any required attribute was not provided