Interface Transformation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Transformation.Builder,
,Transformation> SdkBuilder<Transformation.Builder,
,Transformation> SdkPojo
- Enclosing class:
Transformation
@Mutable
@NotThreadSafe
public static interface Transformation.Builder
extends SdkPojo, CopyableBuilder<Transformation.Builder,Transformation>
-
Method Summary
Modifier and TypeMethodDescriptionstepToApply
(String stepToApply) When the service applies the transformation.stepToApply
(StepType stepToApply) When the service applies the transformation.default Transformation.Builder
transformationFunction
(Consumer<TransformationFunction.Builder> transformationFunction) A Lambda function that processes documents.transformationFunction
(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, sdkFieldNameToField, sdkFields
-
Method Details
-
stepToApply
When the service applies the transformation.
- Parameters:
stepToApply
- When the service applies the transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
stepToApply
When the service applies the transformation.
- Parameters:
stepToApply
- When the service applies the transformation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.Builder
avoiding the need to create one manually viaTransformationFunction.builder()
.When the
Consumer
completes,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:
-