Class CfnTemplate.HistogramBinOptionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnTemplate.HistogramBinOptionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTemplate.HistogramBinOptionsProperty>
- Enclosing interface:
CfnTemplate.HistogramBinOptionsProperty
@Stability(Stable)
public static final class CfnTemplate.HistogramBinOptionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTemplate.HistogramBinOptionsProperty>
A builder for
CfnTemplate.HistogramBinOptionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbinCount
(IResolvable binCount) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinCount()
binCount
(CfnTemplate.BinCountOptionsProperty binCount) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinCount()
binWidth
(IResolvable binWidth) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinWidth()
binWidth
(CfnTemplate.BinWidthOptionsProperty binWidth) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinWidth()
build()
Builds the configured instance.selectedBinType
(String selectedBinType) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getSelectedBinType()
startValue
(Number startValue) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getStartValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
binCount
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder binCount(IResolvable binCount) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinCount()
- Parameters:
binCount
- The options that determine the bin count of a histogram.- Returns:
this
-
binCount
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder binCount(CfnTemplate.BinCountOptionsProperty binCount) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinCount()
- Parameters:
binCount
- The options that determine the bin count of a histogram.- Returns:
this
-
binWidth
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder binWidth(IResolvable binWidth) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinWidth()
- Parameters:
binWidth
- The options that determine the bin width of a histogram.- Returns:
this
-
binWidth
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder binWidth(CfnTemplate.BinWidthOptionsProperty binWidth) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getBinWidth()
- Parameters:
binWidth
- The options that determine the bin width of a histogram.- Returns:
this
-
selectedBinType
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder selectedBinType(String selectedBinType) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getSelectedBinType()
- Parameters:
selectedBinType
- The options that determine the selected bin type.- Returns:
this
-
startValue
@Stability(Stable) public CfnTemplate.HistogramBinOptionsProperty.Builder startValue(Number startValue) Sets the value ofCfnTemplate.HistogramBinOptionsProperty.getStartValue()
- Parameters:
startValue
- The options that determine the bin start value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnTemplate.HistogramBinOptionsProperty>
- Returns:
- a new instance of
CfnTemplate.HistogramBinOptionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-