Class CfnAnalysis.ReferenceLineStyleConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnAnalysis.ReferenceLineStyleConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAnalysis.ReferenceLineStyleConfigurationProperty>
- Enclosing interface:
- CfnAnalysis.ReferenceLineStyleConfigurationProperty
@Stability(Stable)
public static final class CfnAnalysis.ReferenceLineStyleConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAnalysis.ReferenceLineStyleConfigurationProperty>
A builder for
CfnAnalysis.ReferenceLineStyleConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAnalysis.ReferenceLineStyleConfigurationProperty.getColor()Sets the value ofCfnAnalysis.ReferenceLineStyleConfigurationProperty.getPattern()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
color
@Stability(Stable) public CfnAnalysis.ReferenceLineStyleConfigurationProperty.Builder color(String color) Sets the value ofCfnAnalysis.ReferenceLineStyleConfigurationProperty.getColor()- Parameters:
color- The hex color of the reference line.- Returns:
this
-
pattern
@Stability(Stable) public CfnAnalysis.ReferenceLineStyleConfigurationProperty.Builder pattern(String pattern) Sets the value ofCfnAnalysis.ReferenceLineStyleConfigurationProperty.getPattern()- Parameters:
pattern- The pattern type of the line style. Choose one of the following options:.SOLIDDASHEDDOTTED
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAnalysis.ReferenceLineStyleConfigurationProperty>- Returns:
- a new instance of
CfnAnalysis.ReferenceLineStyleConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-