cloudshift.awscdk.dsl.services.quicksight.CfnAnalysisFontSizePropertyDsl.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.CfnAnalysis
import kotlin.String
/**
* The option that determines the text display size.
*
* 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.*;
* FontSizeProperty fontSizeProperty = FontSizeProperty.builder()
* .relative("relative")
* .build();
* ```
*
* [Documentation](http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-quicksight-analysis-fontsize.html)
*/
@CdkDslMarker
public class CfnAnalysisFontSizePropertyDsl {
private val cdkBuilder: CfnAnalysis.FontSizeProperty.Builder =
CfnAnalysis.FontSizeProperty.builder()
/**
* @param relative The lexical name for the text size, proportional to its surrounding context.
*/
public fun relative(relative: String) {
cdkBuilder.relative(relative)
}
public fun build(): CfnAnalysis.FontSizeProperty = cdkBuilder.build()
}