cloudshift.awscdk.dsl.services.quicksight.CfnDashboardBinWidthOptionsPropertyDsl.kt Maven / Gradle / Ivy
@file:Suppress("RedundantVisibilityModifier", "RedundantUnitReturnType", "RemoveRedundantQualifierName", "unused", "UnusedImport", "ClassName", "REDUNDANT_PROJECTION", "DEPRECATION")
package cloudshift.awscdk.dsl.services.quicksight
import cloudshift.awscdk.common.CdkDslMarker
import software.amazon.awscdk.services.quicksight.CfnDashboard
import kotlin.Number
/**
* The options that determine the bin width of a histogram.
*
* Example:
*
* ```
* // The code below shows an example of how to instantiate this type.
* // The values are placeholders you should change.
* import software.amazon.awscdk.services.quicksight.*;
* BinWidthOptionsProperty binWidthOptionsProperty = BinWidthOptionsProperty.builder()
* .binCountLimit(123)
* .value(123)
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-binwidthoptions.html)
*/
@CdkDslMarker
public class CfnDashboardBinWidthOptionsPropertyDsl {
private val cdkBuilder: CfnDashboard.BinWidthOptionsProperty.Builder =
CfnDashboard.BinWidthOptionsProperty.builder()
/**
* @param binCountLimit The options that determine the bin count limit.
*/
public fun binCountLimit(binCountLimit: Number) {
cdkBuilder.binCountLimit(binCountLimit)
}
/**
* @param value The options that determine the bin width value.
*/
public fun `value`(`value`: Number) {
cdkBuilder.`value`(`value`)
}
public fun build(): CfnDashboard.BinWidthOptionsProperty = cdkBuilder.build()
}