Interface CfnDataSet.TransformOperationProperty

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

@Stability(Stable) public static interface CfnDataSet.TransformOperationProperty extends software.amazon.jsii.JsiiSerializable
A data transformation on a logical table.

This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.

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.*;
 TransformOperationProperty transformOperationProperty = TransformOperationProperty.builder()
         .castColumnTypeOperation(CastColumnTypeOperationProperty.builder()
                 .columnName("columnName")
                 .newColumnType("newColumnType")
                 // the properties below are optional
                 .format("format")
                 .build())
         .createColumnsOperation(CreateColumnsOperationProperty.builder()
                 .columns(List.of(CalculatedColumnProperty.builder()
                         .columnId("columnId")
                         .columnName("columnName")
                         .expression("expression")
                         .build()))
                 .build())
         .filterOperation(FilterOperationProperty.builder()
                 .conditionExpression("conditionExpression")
                 .build())
         .overrideDatasetParameterOperation(OverrideDatasetParameterOperationProperty.builder()
                 .parameterName("parameterName")
                 // the properties below are optional
                 .newDefaultValues(NewDefaultValuesProperty.builder()
                         .dateTimeStaticValues(List.of("dateTimeStaticValues"))
                         .decimalStaticValues(List.of(123))
                         .integerStaticValues(List.of(123))
                         .stringStaticValues(List.of("stringStaticValues"))
                         .build())
                 .newParameterName("newParameterName")
                 .build())
         .projectOperation(ProjectOperationProperty.builder()
                 .projectedColumns(List.of("projectedColumns"))
                 .build())
         .renameColumnOperation(RenameColumnOperationProperty.builder()
                 .columnName("columnName")
                 .newColumnName("newColumnName")
                 .build())
         .tagColumnOperation(TagColumnOperationProperty.builder()
                 .columnName("columnName")
                 .tags(List.of(ColumnTagProperty.builder()
                         .columnDescription(ColumnDescriptionProperty.builder()
                                 .text("text")
                                 .build())
                         .columnGeographicRole("columnGeographicRole")
                         .build()))
                 .build())
         .build();
 
  • Method Details

    • getCastColumnTypeOperation

      @Stability(Stable) @Nullable default Object getCastColumnTypeOperation()
      A transform operation that casts a column to a different type.
    • getCreateColumnsOperation

      @Stability(Stable) @Nullable default Object getCreateColumnsOperation()
      An operation that creates calculated columns.

      Columns created in one such operation form a lexical closure.

    • getFilterOperation

      @Stability(Stable) @Nullable default Object getFilterOperation()
      An operation that filters rows based on some condition.
    • getOverrideDatasetParameterOperation

      @Stability(Stable) @Nullable default Object getOverrideDatasetParameterOperation()
      CfnDataSet.TransformOperationProperty.OverrideDatasetParameterOperation.
    • getProjectOperation

      @Stability(Stable) @Nullable default Object getProjectOperation()
      An operation that projects columns.

      Operations that come after a projection can only refer to projected columns.

    • getRenameColumnOperation

      @Stability(Stable) @Nullable default Object getRenameColumnOperation()
      An operation that renames a column.
    • getTagColumnOperation

      @Stability(Stable) @Nullable default Object getTagColumnOperation()
      An operation that tags a column with additional information.
    • builder

      @Stability(Stable) static CfnDataSet.TransformOperationProperty.Builder builder()
      Returns:
      a CfnDataSet.TransformOperationProperty.Builder of CfnDataSet.TransformOperationProperty