Interface Transformation.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Transformation.Builder,Transformation>,SdkBuilder<Transformation.Builder,Transformation>,SdkPojo
- Enclosing class:
- Transformation
public static interface Transformation.Builder extends SdkPojo, CopyableBuilder<Transformation.Builder,Transformation>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Transformation.BuilderstepToApply(String stepToApply)When the service applies the transformation.Transformation.BuilderstepToApply(StepType stepToApply)When the service applies the transformation.default Transformation.BuildertransformationFunction(Consumer<TransformationFunction.Builder> transformationFunction)A Lambda function that processes documents.Transformation.BuildertransformationFunction(TransformationFunction transformationFunction)A Lambda function that processes documents.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
stepToApply
Transformation.Builder stepToApply(String stepToApply)
When the service applies the transformation.
-
stepToApply
Transformation.Builder stepToApply(StepType stepToApply)
When the service applies the transformation.
-
transformationFunction
Transformation.Builder transformationFunction(TransformationFunction transformationFunction)
A Lambda function that processes documents.
- Parameters:
transformationFunction- A Lambda function that processes documents.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
transformationFunction
default Transformation.Builder transformationFunction(Consumer<TransformationFunction.Builder> transformationFunction)
A Lambda function that processes documents.
This is a convenience method that creates an instance of theTransformationFunction.Builderavoiding the need to create one manually viaTransformationFunction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totransformationFunction(TransformationFunction).- Parameters:
transformationFunction- a consumer that will call methods onTransformationFunction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
transformationFunction(TransformationFunction)
-
-