Class CfnDataSet.TransformOperationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.quicksight.CfnDataSet.TransformOperationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSet.TransformOperationProperty>
- Enclosing interface:
CfnDataSet.TransformOperationProperty
@Stability(Stable)
public static final class CfnDataSet.TransformOperationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSet.TransformOperationProperty>
A builder for
CfnDataSet.TransformOperationProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.castColumnTypeOperation
(IResolvable castColumnTypeOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCastColumnTypeOperation()
castColumnTypeOperation
(CfnDataSet.CastColumnTypeOperationProperty castColumnTypeOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCastColumnTypeOperation()
createColumnsOperation
(IResolvable createColumnsOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCreateColumnsOperation()
createColumnsOperation
(CfnDataSet.CreateColumnsOperationProperty createColumnsOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCreateColumnsOperation()
filterOperation
(IResolvable filterOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getFilterOperation()
filterOperation
(CfnDataSet.FilterOperationProperty filterOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getFilterOperation()
overrideDatasetParameterOperation
(IResolvable overrideDatasetParameterOperation) overrideDatasetParameterOperation
(CfnDataSet.OverrideDatasetParameterOperationProperty overrideDatasetParameterOperation) projectOperation
(IResolvable projectOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getProjectOperation()
projectOperation
(CfnDataSet.ProjectOperationProperty projectOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getProjectOperation()
renameColumnOperation
(IResolvable renameColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getRenameColumnOperation()
renameColumnOperation
(CfnDataSet.RenameColumnOperationProperty renameColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getRenameColumnOperation()
tagColumnOperation
(IResolvable tagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getTagColumnOperation()
tagColumnOperation
(CfnDataSet.TagColumnOperationProperty tagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getTagColumnOperation()
untagColumnOperation
(IResolvable untagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getUntagColumnOperation()
untagColumnOperation
(CfnDataSet.UntagColumnOperationProperty untagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getUntagColumnOperation()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
castColumnTypeOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder castColumnTypeOperation(IResolvable castColumnTypeOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCastColumnTypeOperation()
- Parameters:
castColumnTypeOperation
- A transform operation that casts a column to a different type.- Returns:
this
-
castColumnTypeOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder castColumnTypeOperation(CfnDataSet.CastColumnTypeOperationProperty castColumnTypeOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCastColumnTypeOperation()
- Parameters:
castColumnTypeOperation
- A transform operation that casts a column to a different type.- Returns:
this
-
createColumnsOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder createColumnsOperation(IResolvable createColumnsOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCreateColumnsOperation()
- Parameters:
createColumnsOperation
- An operation that creates calculated columns. Columns created in one such operation form a lexical closure.- Returns:
this
-
createColumnsOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder createColumnsOperation(CfnDataSet.CreateColumnsOperationProperty createColumnsOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getCreateColumnsOperation()
- Parameters:
createColumnsOperation
- An operation that creates calculated columns. Columns created in one such operation form a lexical closure.- Returns:
this
-
filterOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder filterOperation(IResolvable filterOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getFilterOperation()
- Parameters:
filterOperation
- An operation that filters rows based on some condition.- Returns:
this
-
filterOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder filterOperation(CfnDataSet.FilterOperationProperty filterOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getFilterOperation()
- Parameters:
filterOperation
- An operation that filters rows based on some condition.- Returns:
this
-
overrideDatasetParameterOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder overrideDatasetParameterOperation(IResolvable overrideDatasetParameterOperation) - Parameters:
overrideDatasetParameterOperation
-A transform operation that overrides the dataset parameter values that are defined in another dataset.
.- Returns:
this
-
overrideDatasetParameterOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder overrideDatasetParameterOperation(CfnDataSet.OverrideDatasetParameterOperationProperty overrideDatasetParameterOperation) - Parameters:
overrideDatasetParameterOperation
-A transform operation that overrides the dataset parameter values that are defined in another dataset.
.- Returns:
this
-
projectOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder projectOperation(IResolvable projectOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getProjectOperation()
- Parameters:
projectOperation
- An operation that projects columns. Operations that come after a projection can only refer to projected columns.- Returns:
this
-
projectOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder projectOperation(CfnDataSet.ProjectOperationProperty projectOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getProjectOperation()
- Parameters:
projectOperation
- An operation that projects columns. Operations that come after a projection can only refer to projected columns.- Returns:
this
-
renameColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder renameColumnOperation(IResolvable renameColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getRenameColumnOperation()
- Parameters:
renameColumnOperation
- An operation that renames a column.- Returns:
this
-
renameColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder renameColumnOperation(CfnDataSet.RenameColumnOperationProperty renameColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getRenameColumnOperation()
- Parameters:
renameColumnOperation
- An operation that renames a column.- Returns:
this
-
tagColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder tagColumnOperation(IResolvable tagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getTagColumnOperation()
- Parameters:
tagColumnOperation
- An operation that tags a column with additional information.- Returns:
this
-
tagColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder tagColumnOperation(CfnDataSet.TagColumnOperationProperty tagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getTagColumnOperation()
- Parameters:
tagColumnOperation
- An operation that tags a column with additional information.- Returns:
this
-
untagColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder untagColumnOperation(IResolvable untagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getUntagColumnOperation()
- Parameters:
untagColumnOperation
-A transform operation that removes tags associated with a column.
.- Returns:
this
-
untagColumnOperation
@Stability(Stable) public CfnDataSet.TransformOperationProperty.Builder untagColumnOperation(CfnDataSet.UntagColumnOperationProperty untagColumnOperation) Sets the value ofCfnDataSet.TransformOperationProperty.getUntagColumnOperation()
- Parameters:
untagColumnOperation
-A transform operation that removes tags associated with a column.
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSet.TransformOperationProperty>
- Returns:
- a new instance of
CfnDataSet.TransformOperationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-