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