cloudshift.awscdk.dsl.services.quicksight.CfnTemplateIntegerValueWhenUnsetConfigurationPropertyDsl.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.CfnTemplate
import kotlin.Number
import kotlin.String
/**
* A parameter declaration for the `Integer` data type.
*
* This is a union type structure. For this structure to be valid, only one of the attributes can be
* defined.
*
* 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.*;
* IntegerValueWhenUnsetConfigurationProperty integerValueWhenUnsetConfigurationProperty =
* IntegerValueWhenUnsetConfigurationProperty.builder()
* .customValue(123)
* .valueWhenUnsetOption("valueWhenUnsetOption")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-template-integervaluewhenunsetconfiguration.html)
*/
@CdkDslMarker
public class CfnTemplateIntegerValueWhenUnsetConfigurationPropertyDsl {
private val cdkBuilder: CfnTemplate.IntegerValueWhenUnsetConfigurationProperty.Builder =
CfnTemplate.IntegerValueWhenUnsetConfigurationProperty.builder()
/**
* @param customValue A custom value that's used when the value of a parameter isn't set.
*/
public fun customValue(customValue: Number) {
cdkBuilder.customValue(customValue)
}
/**
* @param valueWhenUnsetOption The built-in options for default values. The value can be one of
* the following:.
* * `RECOMMENDED` : The recommended value.
* * `NULL` : The `NULL` value.
*/
public fun valueWhenUnsetOption(valueWhenUnsetOption: String) {
cdkBuilder.valueWhenUnsetOption(valueWhenUnsetOption)
}
public fun build(): CfnTemplate.IntegerValueWhenUnsetConfigurationProperty = cdkBuilder.build()
}