Class CfnTemplate.PanelConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.PanelConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.PanelConfigurationProperty>
- Enclosing interface:
CfnTemplate.PanelConfigurationProperty
@Stability(Stable)
public static final class CfnTemplate.PanelConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.PanelConfigurationProperty>
A builder for
CfnTemplate.PanelConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbackgroundColor
(String backgroundColor) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBackgroundColor()
backgroundVisibility
(String backgroundVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBackgroundVisibility()
borderColor
(String borderColor) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderColor()
borderStyle
(String borderStyle) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderStyle()
borderThickness
(String borderThickness) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderThickness()
borderVisibility
(String borderVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderVisibility()
build()
Builds the configured instance.gutterSpacing
(String gutterSpacing) Sets the value ofCfnTemplate.PanelConfigurationProperty.getGutterSpacing()
gutterVisibility
(String gutterVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getGutterVisibility()
title
(IResolvable title) Sets the value ofCfnTemplate.PanelConfigurationProperty.getTitle()
Sets the value ofCfnTemplate.PanelConfigurationProperty.getTitle()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
backgroundColor
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder backgroundColor(String backgroundColor) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBackgroundColor()
- Parameters:
backgroundColor
- Sets the background color for each panel.- Returns:
this
-
backgroundVisibility
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder backgroundVisibility(String backgroundVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBackgroundVisibility()
- Parameters:
backgroundVisibility
- Determines whether or not a background for each small multiples panel is rendered.- Returns:
this
-
borderColor
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder borderColor(String borderColor) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderColor()
- Parameters:
borderColor
- Sets the line color of panel borders.- Returns:
this
-
borderStyle
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder borderStyle(String borderStyle) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderStyle()
- Parameters:
borderStyle
- Sets the line style of panel borders.- Returns:
this
-
borderThickness
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder borderThickness(String borderThickness) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderThickness()
- Parameters:
borderThickness
- Sets the line thickness of panel borders.- Returns:
this
-
borderVisibility
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder borderVisibility(String borderVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getBorderVisibility()
- Parameters:
borderVisibility
- Determines whether or not each panel displays a border.- Returns:
this
-
gutterSpacing
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder gutterSpacing(String gutterSpacing) Sets the value ofCfnTemplate.PanelConfigurationProperty.getGutterSpacing()
- Parameters:
gutterSpacing
- Sets the total amount of negative space to display between sibling panels.- Returns:
this
-
gutterVisibility
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder gutterVisibility(String gutterVisibility) Sets the value ofCfnTemplate.PanelConfigurationProperty.getGutterVisibility()
- Parameters:
gutterVisibility
- Determines whether or not negative space between sibling panels is rendered.- Returns:
this
-
title
Sets the value ofCfnTemplate.PanelConfigurationProperty.getTitle()
- Parameters:
title
- Configures the title display within each small multiples panel.- Returns:
this
-
title
@Stability(Stable) public CfnTemplate.PanelConfigurationProperty.Builder title(CfnTemplate.PanelTitleOptionsProperty title) Sets the value ofCfnTemplate.PanelConfigurationProperty.getTitle()
- Parameters:
title
- Configures the title display within each small multiples panel.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.PanelConfigurationProperty>
- Returns:
- a new instance of
CfnTemplate.PanelConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-