Interface CfnDashboard.VisualCustomActionProperty

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

@Stability(Stable) public static interface CfnDashboard.VisualCustomActionProperty extends software.amazon.jsii.JsiiSerializable
A custom action defined on a visual.

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.*;
 VisualCustomActionProperty visualCustomActionProperty = VisualCustomActionProperty.builder()
         .actionOperations(List.of(VisualCustomActionOperationProperty.builder()
                 .filterOperation(CustomActionFilterOperationProperty.builder()
                         .selectedFieldsConfiguration(FilterOperationSelectedFieldsConfigurationProperty.builder()
                                 .selectedFieldOptions("selectedFieldOptions")
                                 .selectedFields(List.of("selectedFields"))
                                 .build())
                         .targetVisualsConfiguration(FilterOperationTargetVisualsConfigurationProperty.builder()
                                 .sameSheetTargetVisualConfiguration(SameSheetTargetVisualConfigurationProperty.builder()
                                         .targetVisualOptions("targetVisualOptions")
                                         .targetVisuals(List.of("targetVisuals"))
                                         .build())
                                 .build())
                         .build())
                 .navigationOperation(CustomActionNavigationOperationProperty.builder()
                         .localNavigationConfiguration(LocalNavigationConfigurationProperty.builder()
                                 .targetSheetId("targetSheetId")
                                 .build())
                         .build())
                 .setParametersOperation(CustomActionSetParametersOperationProperty.builder()
                         .parameterValueConfigurations(List.of(SetParameterValueConfigurationProperty.builder()
                                 .destinationParameterName("destinationParameterName")
                                 .value(DestinationParameterValueConfigurationProperty.builder()
                                         .customValuesConfiguration(CustomValuesConfigurationProperty.builder()
                                                 .customValues(CustomParameterValuesProperty.builder()
                                                         .dateTimeValues(List.of("dateTimeValues"))
                                                         .decimalValues(List.of(123))
                                                         .integerValues(List.of(123))
                                                         .stringValues(List.of("stringValues"))
                                                         .build())
                                                 // the properties below are optional
                                                 .includeNullValue(false)
                                                 .build())
                                         .selectAllValueOptions("selectAllValueOptions")
                                         .sourceField("sourceField")
                                         .sourceParameterName("sourceParameterName")
                                         .build())
                                 .build()))
                         .build())
                 .urlOperation(CustomActionURLOperationProperty.builder()
                         .urlTarget("urlTarget")
                         .urlTemplate("urlTemplate")
                         .build())
                 .build()))
         .customActionId("customActionId")
         .name("name")
         .trigger("trigger")
         // the properties below are optional
         .status("status")
         .build();
 
  • Method Details

    • getActionOperations

      @Stability(Stable) @NotNull Object getActionOperations()
      A list of VisualCustomActionOperations .

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

    • getCustomActionId

      @Stability(Stable) @NotNull String getCustomActionId()
      The ID of the VisualCustomAction .
    • getName

      @Stability(Stable) @NotNull String getName()
      The name of the VisualCustomAction .
    • getTrigger

      @Stability(Stable) @NotNull String getTrigger()
      The trigger of the VisualCustomAction .

      Valid values are defined as follows:

      • DATA_POINT_CLICK : Initiates a custom action by a left pointer click on a data point.
      • DATA_POINT_MENU : Initiates a custom action by right pointer click from the menu.
    • getStatus

      @Stability(Stable) @Nullable default String getStatus()
      The status of the VisualCustomAction .
    • builder

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