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