All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cloudshift.awscdk.dsl.services.quicksight.CfnDashboardTopBottomRankedComputationPropertyDsl.kt Maven / Gradle / Ivy

There is a newer version: 0.7.0
Show newest version
@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.IResolvable
import software.amazon.awscdk.services.quicksight.CfnDashboard
import kotlin.Number
import kotlin.String

/**
 * The top ranked and bottom ranked computation configuration.
 *
 * Example:
 *
 * ```
 * ```
 *
 * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dashboard-topbottomrankedcomputation.html)
 */
@CdkDslMarker
public class CfnDashboardTopBottomRankedComputationPropertyDsl {
    private val cdkBuilder: CfnDashboard.TopBottomRankedComputationProperty.Builder =
        CfnDashboard.TopBottomRankedComputationProperty.builder()

    /**
     * @param category The category field that is used in a computation.
     */
    public fun category(category: IResolvable) {
        cdkBuilder.category(category)
    }

    /**
     * @param category The category field that is used in a computation.
     */
    public fun category(category: CfnDashboard.DimensionFieldProperty) {
        cdkBuilder.category(category)
    }

    /**
     * @param computationId The ID for a computation.
     */
    public fun computationId(computationId: String) {
        cdkBuilder.computationId(computationId)
    }

    /**
     * @param name The name of a computation.
     */
    public fun name(name: String) {
        cdkBuilder.name(name)
    }

    /**
     * @param resultSize The result size of a top and bottom ranked computation.
     */
    public fun resultSize(resultSize: Number) {
        cdkBuilder.resultSize(resultSize)
    }

    /**
     * @param type The computation type. Choose one of the following options:.
     * * TOP: A top ranked computation.
     * * BOTTOM: A bottom ranked computation.
     */
    public fun type(type: String) {
        cdkBuilder.type(type)
    }

    /**
     * @param value The value field that is used in a computation.
     */
    public fun `value`(`value`: IResolvable) {
        cdkBuilder.`value`(`value`)
    }

    /**
     * @param value The value field that is used in a computation.
     */
    public fun `value`(`value`: CfnDashboard.MeasureFieldProperty) {
        cdkBuilder.`value`(`value`)
    }

    public fun build(): CfnDashboard.TopBottomRankedComputationProperty = cdkBuilder.build()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy