Class CfnDashboard.KPIConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDashboard.KPIConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDashboard.KPIConfigurationProperty>
- Enclosing interface:
CfnDashboard.KPIConfigurationProperty
@Stability(Stable)
public static final class CfnDashboard.KPIConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDashboard.KPIConfigurationProperty>
A builder for
CfnDashboard.KPIConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.fieldWells
(IResolvable fieldWells) Sets the value ofCfnDashboard.KPIConfigurationProperty.getFieldWells()
fieldWells
(CfnDashboard.KPIFieldWellsProperty fieldWells) Sets the value ofCfnDashboard.KPIConfigurationProperty.getFieldWells()
kpiOptions
(IResolvable kpiOptions) Sets the value ofCfnDashboard.KPIConfigurationProperty.getKpiOptions()
kpiOptions
(CfnDashboard.KPIOptionsProperty kpiOptions) Sets the value ofCfnDashboard.KPIConfigurationProperty.getKpiOptions()
sortConfiguration
(IResolvable sortConfiguration) Sets the value ofCfnDashboard.KPIConfigurationProperty.getSortConfiguration()
sortConfiguration
(CfnDashboard.KPISortConfigurationProperty sortConfiguration) Sets the value ofCfnDashboard.KPIConfigurationProperty.getSortConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldWells
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder fieldWells(IResolvable fieldWells) Sets the value ofCfnDashboard.KPIConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field well configuration of a KPI visual.- Returns:
this
-
fieldWells
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder fieldWells(CfnDashboard.KPIFieldWellsProperty fieldWells) Sets the value ofCfnDashboard.KPIConfigurationProperty.getFieldWells()
- Parameters:
fieldWells
- The field well configuration of a KPI visual.- Returns:
this
-
kpiOptions
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder kpiOptions(IResolvable kpiOptions) Sets the value ofCfnDashboard.KPIConfigurationProperty.getKpiOptions()
- Parameters:
kpiOptions
- The options that determine the presentation of a KPI visual.- Returns:
this
-
kpiOptions
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder kpiOptions(CfnDashboard.KPIOptionsProperty kpiOptions) Sets the value ofCfnDashboard.KPIConfigurationProperty.getKpiOptions()
- Parameters:
kpiOptions
- The options that determine the presentation of a KPI visual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder sortConfiguration(IResolvable sortConfiguration) Sets the value ofCfnDashboard.KPIConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a KPI visual.- Returns:
this
-
sortConfiguration
@Stability(Stable) public CfnDashboard.KPIConfigurationProperty.Builder sortConfiguration(CfnDashboard.KPISortConfigurationProperty sortConfiguration) Sets the value ofCfnDashboard.KPIConfigurationProperty.getSortConfiguration()
- Parameters:
sortConfiguration
- The sort configuration of a KPI visual.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDashboard.KPIConfigurationProperty>
- Returns:
- a new instance of
CfnDashboard.KPIConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-