Class CfnDataSource.TransformationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnDataSource.TransformationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataSource.TransformationProperty>
- Enclosing interface:
CfnDataSource.TransformationProperty
@Stability(Stable)
public static final class CfnDataSource.TransformationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataSource.TransformationProperty>
A builder for
CfnDataSource.TransformationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.stepToApply
(String stepToApply) Sets the value ofCfnDataSource.TransformationProperty.getStepToApply()
transformationFunction
(IResolvable transformationFunction) Sets the value ofCfnDataSource.TransformationProperty.getTransformationFunction()
transformationFunction
(CfnDataSource.TransformationFunctionProperty transformationFunction) Sets the value ofCfnDataSource.TransformationProperty.getTransformationFunction()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stepToApply
@Stability(Stable) public CfnDataSource.TransformationProperty.Builder stepToApply(String stepToApply) Sets the value ofCfnDataSource.TransformationProperty.getStepToApply()
- Parameters:
stepToApply
- When the service applies the transformation. This parameter is required.- Returns:
this
-
transformationFunction
@Stability(Stable) public CfnDataSource.TransformationProperty.Builder transformationFunction(IResolvable transformationFunction) Sets the value ofCfnDataSource.TransformationProperty.getTransformationFunction()
- Parameters:
transformationFunction
- A Lambda function that processes documents. This parameter is required.- Returns:
this
-
transformationFunction
@Stability(Stable) public CfnDataSource.TransformationProperty.Builder transformationFunction(CfnDataSource.TransformationFunctionProperty transformationFunction) Sets the value ofCfnDataSource.TransformationProperty.getTransformationFunction()
- Parameters:
transformationFunction
- A Lambda function that processes documents. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDataSource.TransformationProperty>
- Returns:
- a new instance of
CfnDataSource.TransformationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-