Interface CfnTemplate.DataLabelOptionsProperty

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

@Stability(Stable) public static interface CfnTemplate.DataLabelOptionsProperty extends software.amazon.jsii.JsiiSerializable
The options that determine the presentation of the data labels.

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.*;
 DataLabelOptionsProperty dataLabelOptionsProperty = DataLabelOptionsProperty.builder()
         .categoryLabelVisibility("categoryLabelVisibility")
         .dataLabelTypes(List.of(DataLabelTypeProperty.builder()
                 .dataPathLabelType(DataPathLabelTypeProperty.builder()
                         .fieldId("fieldId")
                         .fieldValue("fieldValue")
                         .visibility("visibility")
                         .build())
                 .fieldLabelType(FieldLabelTypeProperty.builder()
                         .fieldId("fieldId")
                         .visibility("visibility")
                         .build())
                 .maximumLabelType(MaximumLabelTypeProperty.builder()
                         .visibility("visibility")
                         .build())
                 .minimumLabelType(MinimumLabelTypeProperty.builder()
                         .visibility("visibility")
                         .build())
                 .rangeEndsLabelType(RangeEndsLabelTypeProperty.builder()
                         .visibility("visibility")
                         .build())
                 .build()))
         .labelColor("labelColor")
         .labelContent("labelContent")
         .labelFontConfiguration(FontConfigurationProperty.builder()
                 .fontColor("fontColor")
                 .fontDecoration("fontDecoration")
                 .fontSize(FontSizeProperty.builder()
                         .relative("relative")
                         .build())
                 .fontStyle("fontStyle")
                 .fontWeight(FontWeightProperty.builder()
                         .name("name")
                         .build())
                 .build())
         .measureLabelVisibility("measureLabelVisibility")
         .overlap("overlap")
         .position("position")
         .visibility("visibility")
         .build();
 
  • Method Details

    • getCategoryLabelVisibility

      @Stability(Stable) @Nullable default String getCategoryLabelVisibility()
      Determines the visibility of the category field labels.
    • getDataLabelTypes

      @Stability(Stable) @Nullable default Object getDataLabelTypes()
      The option that determines the data label type.
    • getLabelColor

      @Stability(Stable) @Nullable default String getLabelColor()
      Determines the color of the data labels.
    • getLabelContent

      @Stability(Stable) @Nullable default String getLabelContent()
      Determines the content of the data labels.
    • getLabelFontConfiguration

      @Stability(Stable) @Nullable default Object getLabelFontConfiguration()
      Determines the font configuration of the data labels.
    • getMeasureLabelVisibility

      @Stability(Stable) @Nullable default String getMeasureLabelVisibility()
      Determines the visibility of the measure field labels.
    • getOverlap

      @Stability(Stable) @Nullable default String getOverlap()
      Determines whether overlap is enabled or disabled for the data labels.
    • getPosition

      @Stability(Stable) @Nullable default String getPosition()
      Determines the position of the data labels.
    • getVisibility

      @Stability(Stable) @Nullable default String getVisibility()
      Determines the visibility of the data labels.
    • builder

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