Interface CfnDataSetPropsMixin.UnpivotOperationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnDataSetPropsMixin.UnpivotOperationProperty.Jsii$Proxy
- Enclosing class:
CfnDataSetPropsMixin
@Stability(Stable)
public static interface CfnDataSetPropsMixin.UnpivotOperationProperty
extends software.amazon.jsii.JsiiSerializable
A transform operation that converts columns into rows, normalizing the data structure.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.quicksight.*;
UnpivotOperationProperty unpivotOperationProperty = UnpivotOperationProperty.builder()
.alias("alias")
.columnsToUnpivot(List.of(ColumnToUnpivotProperty.builder()
.columnName("columnName")
.newValue("newValue")
.build()))
.source(TransformOperationSourceProperty.builder()
.columnIdMappings(List.of(DataSetColumnIdMappingProperty.builder()
.sourceColumnId("sourceColumnId")
.targetColumnId("targetColumnId")
.build()))
.transformOperationId("transformOperationId")
.build())
.unpivotedLabelColumnId("unpivotedLabelColumnId")
.unpivotedLabelColumnName("unpivotedLabelColumnName")
.unpivotedValueColumnId("unpivotedValueColumnId")
.unpivotedValueColumnName("unpivotedValueColumnName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnDataSetPropsMixin.UnpivotOperationPropertystatic final classAn implementation forCfnDataSetPropsMixin.UnpivotOperationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringgetAlias()Alias for this operation.default ObjectThe list of columns to unpivot from the source data.default ObjectThe source transform operation that provides input data for unpivoting.default StringA unique identifier for the new column that will contain the unpivoted column names.default StringThe name for the new column that will contain the unpivoted column names.default StringA unique identifier for the new column that will contain the unpivoted values.default StringThe name for the new column that will contain the unpivoted values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAlias
Alias for this operation.- See Also:
-
getColumnsToUnpivot
The list of columns to unpivot from the source data.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnDataSetPropsMixin.ColumnToUnpivotProperty>- See Also:
-
getSource
The source transform operation that provides input data for unpivoting.Returns union: either
IResolvableorCfnDataSetPropsMixin.TransformOperationSourceProperty- See Also:
-
getUnpivotedLabelColumnId
A unique identifier for the new column that will contain the unpivoted column names.- See Also:
-
getUnpivotedLabelColumnName
The name for the new column that will contain the unpivoted column names.- See Also:
-
getUnpivotedValueColumnId
A unique identifier for the new column that will contain the unpivoted values.- See Also:
-
getUnpivotedValueColumnName
The name for the new column that will contain the unpivoted values.- See Also:
-
builder
-