Interface CfnAnalysis.ParameterControlProperty

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

@Stability(Stable) public static interface CfnAnalysis.ParameterControlProperty extends software.amazon.jsii.JsiiSerializable
The control of a parameter that users can interact with in a dashboard or an analysis.

This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

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.*;
 ParameterControlProperty parameterControlProperty = ParameterControlProperty.builder()
         .dateTimePicker(ParameterDateTimePickerControlProperty.builder()
                 .parameterControlId("parameterControlId")
                 .sourceParameterName("sourceParameterName")
                 .title("title")
                 // the properties below are optional
                 .displayOptions(DateTimePickerControlDisplayOptionsProperty.builder()
                         .dateTimeFormat("dateTimeFormat")
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .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())
                 .build())
         .dropdown(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())
                 .commitMode("commitMode")
                 .displayOptions(DropDownControlDisplayOptionsProperty.builder()
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .visibility("visibility")
                                 .build())
                         .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())
         .list(ParameterListControlProperty.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(ListControlDisplayOptionsProperty.builder()
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .visibility("visibility")
                                 .build())
                         .searchOptions(ListControlSearchOptionsProperty.builder()
                                 .visibility("visibility")
                                 .build())
                         .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())
         .slider(ParameterSliderControlProperty.builder()
                 .maximumValue(123)
                 .minimumValue(123)
                 .parameterControlId("parameterControlId")
                 .sourceParameterName("sourceParameterName")
                 .stepSize(123)
                 .title("title")
                 // the properties below are optional
                 .displayOptions(SliderControlDisplayOptionsProperty.builder()
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .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())
                 .build())
         .textArea(ParameterTextAreaControlProperty.builder()
                 .parameterControlId("parameterControlId")
                 .sourceParameterName("sourceParameterName")
                 .title("title")
                 // the properties below are optional
                 .delimiter("delimiter")
                 .displayOptions(TextAreaControlDisplayOptionsProperty.builder()
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .visibility("visibility")
                                 .build())
                         .placeholderOptions(TextControlPlaceholderOptionsProperty.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())
                 .build())
         .textField(ParameterTextFieldControlProperty.builder()
                 .parameterControlId("parameterControlId")
                 .sourceParameterName("sourceParameterName")
                 .title("title")
                 // the properties below are optional
                 .displayOptions(TextFieldControlDisplayOptionsProperty.builder()
                         .infoIconLabelOptions(SheetControlInfoIconLabelOptionsProperty.builder()
                                 .infoIconText("infoIconText")
                                 .visibility("visibility")
                                 .build())
                         .placeholderOptions(TextControlPlaceholderOptionsProperty.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())
                 .build())
         .build();
 

See Also: