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