Class CfnTemplate.DataColorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DataColorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DataColorProperty>
- Enclosing interface:
CfnTemplate.DataColorProperty
@Stability(Stable)
public static final class CfnTemplate.DataColorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DataColorProperty>
A builder for
CfnTemplate.DataColorProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnTemplate.DataColorProperty.getColor()
Sets the value ofCfnTemplate.DataColorProperty.getDataValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
Sets the value ofCfnTemplate.DataColorProperty.getColor()
- Parameters:
color
- The color that is applied to the data value.- Returns:
this
-
dataValue
Sets the value ofCfnTemplate.DataColorProperty.getDataValue()
- Parameters:
dataValue
- The data value that the color is applied to.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.DataColorProperty>
- Returns:
- a new instance of
CfnTemplate.DataColorProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-