Interface CfnDashboard.ParameterSliderControlProperty

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

@Stability(Stable) public static interface CfnDashboard.ParameterSliderControlProperty extends software.amazon.jsii.JsiiSerializable
A control to display a horizontal toggle bar.

This is used to change a value by sliding the toggle.

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.*;
 ParameterSliderControlProperty parameterSliderControlProperty = ParameterSliderControlProperty.builder()
         .maximumValue(123)
         .minimumValue(123)
         .parameterControlId("parameterControlId")
         .sourceParameterName("sourceParameterName")
         .stepSize(123)
         .title("title")
         // the properties below are optional
         .displayOptions(SliderControlDisplayOptionsProperty.builder()
                 .titleOptions(LabelOptionsProperty.builder()
                         .customLabel("customLabel")
                         .fontConfiguration(FontConfigurationProperty.builder()
                                 .fontColor("fontColor")
                                 .fontDecoration("fontDecoration")
                                 .fontSize(FontSizeProperty.builder()
                                         .relative("relative")
                                         .build())
                                 .fontStyle("fontStyle")
                                 .fontWeight(FontWeightProperty.builder()
                                         .name("name")
                                         .build())
                                 .build())
                         .visibility("visibility")
                         .build())
                 .build())
         .build();
 
  • Method Details

    • getMaximumValue

      @Stability(Stable) @NotNull Number getMaximumValue()
      The smaller value that is displayed at the left of the slider.
    • getMinimumValue

      @Stability(Stable) @NotNull Number getMinimumValue()
      The larger value that is displayed at the right of the slider.
    • getParameterControlId

      @Stability(Stable) @NotNull String getParameterControlId()
      The ID of the ParameterSliderControl .
    • getSourceParameterName

      @Stability(Stable) @NotNull String getSourceParameterName()
      The source parameter name of the ParameterSliderControl .
    • getStepSize

      @Stability(Stable) @NotNull Number getStepSize()
      The number of increments that the slider bar is divided into.
    • getTitle

      @Stability(Stable) @NotNull String getTitle()
      The title of the ParameterSliderControl .
    • getDisplayOptions

      @Stability(Stable) @Nullable default Object getDisplayOptions()
      The display options of a control.
    • builder

      @Stability(Stable) static CfnDashboard.ParameterSliderControlProperty.Builder builder()
      Returns:
      a CfnDashboard.ParameterSliderControlProperty.Builder of CfnDashboard.ParameterSliderControlProperty