Class CfnTemplate.RowAlternateColorOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.RowAlternateColorOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.RowAlternateColorOptionsProperty>
- Enclosing interface:
CfnTemplate.RowAlternateColorOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.RowAlternateColorOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.RowAlternateColorOptionsProperty>
A builder for
CfnTemplate.RowAlternateColorOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.rowAlternateColors(List<String> rowAlternateColors) Sets the value ofCfnTemplate.RowAlternateColorOptionsProperty.getRowAlternateColors()Sets the value ofCfnTemplate.RowAlternateColorOptionsProperty.getStatus()usePrimaryBackgroundColor(String usePrimaryBackgroundColor)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rowAlternateColors
@Stability(Stable) public CfnTemplate.RowAlternateColorOptionsProperty.Builder rowAlternateColors(List<String> rowAlternateColors) Sets the value ofCfnTemplate.RowAlternateColorOptionsProperty.getRowAlternateColors()- Parameters:
rowAlternateColors- Determines the list of row alternate colors.- Returns:
this
-
status
@Stability(Stable) public CfnTemplate.RowAlternateColorOptionsProperty.Builder status(String status) Sets the value ofCfnTemplate.RowAlternateColorOptionsProperty.getStatus()- Parameters:
status- Determines the widget status.- Returns:
this
-
usePrimaryBackgroundColor
@Stability(Stable) public CfnTemplate.RowAlternateColorOptionsProperty.Builder usePrimaryBackgroundColor(String usePrimaryBackgroundColor) - Parameters:
usePrimaryBackgroundColor- The primary background color options for alternate rows.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.RowAlternateColorOptionsProperty>- Returns:
- a new instance of
CfnTemplate.RowAlternateColorOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-