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

cloudshift.awscdk.dsl.services.quicksight.CfnDataSetDecimalDatasetParameterPropertyDsl.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 kotlin.String
import software.amazon.awscdk.IResolvable
import software.amazon.awscdk.services.quicksight.CfnDataSet

/**
 * A parameter created in the dataset of decimal data type.

. * * 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.*; * DecimalDatasetParameterProperty decimalDatasetParameterProperty = * DecimalDatasetParameterProperty.builder() * .id("id") * .name("name") * .valueType("valueType") * // the properties below are optional * .defaultValues(DecimalDatasetParameterDefaultValuesProperty.builder() * .staticValues(List.of(123)) * .build()) * .build(); * ``` * * [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-dataset-decimaldatasetparameter.html) */ @CdkDslMarker public class CfnDataSetDecimalDatasetParameterPropertyDsl { private val cdkBuilder: CfnDataSet.DecimalDatasetParameterProperty.Builder = CfnDataSet.DecimalDatasetParameterProperty.builder() /** * @param defaultValues List of default values defined for a given decimal dataset parameter type. * Currently only static values are supported.

*/ public fun defaultValues(defaultValues: IResolvable) { cdkBuilder.defaultValues(defaultValues) } /** * @param defaultValues List of default values defined for a given decimal dataset parameter type. * Currently only static values are supported.

*/ public fun defaultValues(defaultValues: CfnDataSet.DecimalDatasetParameterDefaultValuesProperty) { cdkBuilder.defaultValues(defaultValues) } /** * @param id Identifier of the parameter created in the dataset.

. */ public fun id(id: String) { cdkBuilder.id(id) } /** * @param name Name of the parameter created in the dataset.

. */ public fun name(name: String) { cdkBuilder.name(name) } /** * @param valueType Every parameter value could be either a single value or multi value which * helps to validate before evaluation.

. */ public fun valueType(valueType: String) { cdkBuilder.valueType(valueType) } public fun build(): CfnDataSet.DecimalDatasetParameterProperty = cdkBuilder.build() }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy