Class CfnTemplate.DataBarsOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.DataBarsOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.DataBarsOptionsProperty>
- Enclosing interface:
- CfnTemplate.DataBarsOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.DataBarsOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.DataBarsOptionsProperty>
A builder for
CfnTemplate.DataBarsOptionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTemplate.DataBarsOptionsProperty.getFieldId()negativeColor(String negativeColor) Sets the value ofCfnTemplate.DataBarsOptionsProperty.getNegativeColor()positiveColor(String positiveColor) Sets the value ofCfnTemplate.DataBarsOptionsProperty.getPositiveColor()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldId
Sets the value ofCfnTemplate.DataBarsOptionsProperty.getFieldId()- Parameters:
fieldId- The field ID for the data bars options. This parameter is required.- Returns:
this
-
negativeColor
@Stability(Stable) public CfnTemplate.DataBarsOptionsProperty.Builder negativeColor(String negativeColor) Sets the value ofCfnTemplate.DataBarsOptionsProperty.getNegativeColor()- Parameters:
negativeColor- The color of the negative data bar.- Returns:
this
-
positiveColor
@Stability(Stable) public CfnTemplate.DataBarsOptionsProperty.Builder positiveColor(String positiveColor) Sets the value ofCfnTemplate.DataBarsOptionsProperty.getPositiveColor()- Parameters:
positiveColor- The color of the positive data bar.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTemplate.DataBarsOptionsProperty>- Returns:
- a new instance of
CfnTemplate.DataBarsOptionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-