Class CfnDashboard.DataFieldSeriesItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.DataFieldSeriesItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.DataFieldSeriesItemProperty>
- Enclosing interface:
CfnDashboard.DataFieldSeriesItemProperty
@Stability(Stable)
public static final class CfnDashboard.DataFieldSeriesItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.DataFieldSeriesItemProperty>
A builder for
CfnDashboard.DataFieldSeriesItemProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaxisBinding
(String axisBinding) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getAxisBinding()
build()
Builds the configured instance.Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getFieldId()
fieldValue
(String fieldValue) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getFieldValue()
settings
(IResolvable settings) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getSettings()
Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
axisBinding
@Stability(Stable) public CfnDashboard.DataFieldSeriesItemProperty.Builder axisBinding(String axisBinding) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getAxisBinding()
- Parameters:
axisBinding
- The axis that you are binding the field to. This parameter is required.- Returns:
this
-
fieldId
Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getFieldId()
- Parameters:
fieldId
- The field ID of the field that you are setting the axis binding to. This parameter is required.- Returns:
this
-
fieldValue
@Stability(Stable) public CfnDashboard.DataFieldSeriesItemProperty.Builder fieldValue(String fieldValue) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getFieldValue()
- Parameters:
fieldValue
- The field value of the field that you are setting the axis binding to.- Returns:
this
-
settings
@Stability(Stable) public CfnDashboard.DataFieldSeriesItemProperty.Builder settings(IResolvable settings) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getSettings()
- Parameters:
settings
- The options that determine the presentation of line series associated to the field.- Returns:
this
-
settings
@Stability(Stable) public CfnDashboard.DataFieldSeriesItemProperty.Builder settings(CfnDashboard.LineChartSeriesSettingsProperty settings) Sets the value ofCfnDashboard.DataFieldSeriesItemProperty.getSettings()
- Parameters:
settings
- The options that determine the presentation of line series associated to the field.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.DataFieldSeriesItemProperty>
- Returns:
- a new instance of
CfnDashboard.DataFieldSeriesItemProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-