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