Interface CfnTemplate.FontConfigurationProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTemplate.FontConfigurationProperty.Jsii$Proxy
Enclosing class:
CfnTemplate

@Stability(Stable) public static interface CfnTemplate.FontConfigurationProperty extends software.amazon.jsii.JsiiSerializable
Configures the display properties of the given text.

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.*;
 FontConfigurationProperty fontConfigurationProperty = FontConfigurationProperty.builder()
         .fontColor("fontColor")
         .fontDecoration("fontDecoration")
         .fontSize(FontSizeProperty.builder()
                 .relative("relative")
                 .build())
         .fontStyle("fontStyle")
         .fontWeight(FontWeightProperty.builder()
                 .name("name")
                 .build())
         .build();
 
  • Method Details

    • getFontColor

      @Stability(Stable) @Nullable default String getFontColor()
      Determines the color of the text.
    • getFontDecoration

      @Stability(Stable) @Nullable default String getFontDecoration()
      Determines the appearance of decorative lines on the text.
    • getFontSize

      @Stability(Stable) @Nullable default Object getFontSize()
      The option that determines the text display size.
    • getFontStyle

      @Stability(Stable) @Nullable default String getFontStyle()
      Determines the text display face that is inherited by the given font family.
    • getFontWeight

      @Stability(Stable) @Nullable default Object getFontWeight()
      The option that determines the text display weight, or boldness.
    • builder

      @Stability(Stable) static CfnTemplate.FontConfigurationProperty.Builder builder()
      Returns:
      a CfnTemplate.FontConfigurationProperty.Builder of CfnTemplate.FontConfigurationProperty