Interface CfnAnalysis.ParameterDropDownControlProperty

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

@Stability(Stable) public static interface CfnAnalysis.ParameterDropDownControlProperty extends software.amazon.jsii.JsiiSerializable
A control to display a dropdown list with buttons that are used to select a single value.

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.*;
 ParameterDropDownControlProperty parameterDropDownControlProperty = ParameterDropDownControlProperty.builder()
         .parameterControlId("parameterControlId")
         .sourceParameterName("sourceParameterName")
         .title("title")
         // the properties below are optional
         .cascadingControlConfiguration(CascadingControlConfigurationProperty.builder()
                 .sourceControls(List.of(CascadingControlSourceProperty.builder()
                         .columnToMatch(ColumnIdentifierProperty.builder()
                                 .columnName("columnName")
                                 .dataSetIdentifier("dataSetIdentifier")
                                 .build())
                         .sourceSheetControlId("sourceSheetControlId")
                         .build()))
                 .build())
         .displayOptions(DropDownControlDisplayOptionsProperty.builder()
                 .selectAllOptions(ListControlSelectAllOptionsProperty.builder()
                         .visibility("visibility")
                         .build())
                 .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())
         .selectableValues(ParameterSelectableValuesProperty.builder()
                 .linkToDataSetColumn(ColumnIdentifierProperty.builder()
                         .columnName("columnName")
                         .dataSetIdentifier("dataSetIdentifier")
                         .build())
                 .values(List.of("values"))
                 .build())
         .type("type")
         .build();
 
  • Method Details

    • getParameterControlId

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

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

      @Stability(Stable) @NotNull String getTitle()
      The title of the ParameterDropDownControl .
    • getCascadingControlConfiguration

      @Stability(Stable) @Nullable default Object getCascadingControlConfiguration()
      The values that are displayed in a control can be configured to only show values that are valid based on what's selected in other controls.
    • getDisplayOptions

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

      @Stability(Stable) @Nullable default Object getSelectableValues()
      A list of selectable values that are used in a control.
    • getType

      @Stability(Stable) @Nullable default String getType()
      The type parameter name of the ParameterDropDownControl .
    • builder

      @Stability(Stable) static CfnAnalysis.ParameterDropDownControlProperty.Builder builder()
      Returns:
      a CfnAnalysis.ParameterDropDownControlProperty.Builder of CfnAnalysis.ParameterDropDownControlProperty