@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomTransformationConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Settings for customizing steps in the data source content ingestion pipeline.
You can configure the data source to process documents with a Lambda function after they are parsed and converted into chunks. When you add a post-chunking transformation, the service stores chunked documents in an S3 bucket and invokes a Lambda function to process them.
To process chunked documents with a Lambda function, define an S3 bucket path for input and output objects, and a transformation that specifies the Lambda function to invoke. You can use the Lambda function to customize how chunks are split, and the metadata for each chunk.
Constructor and Description |
---|
CustomTransformationConfiguration() |
Modifier and Type | Method and Description |
---|---|
CustomTransformationConfiguration |
clone() |
boolean |
equals(Object obj) |
IntermediateStorage |
getIntermediateStorage()
An S3 bucket path for input and output objects.
|
List<Transformation> |
getTransformations()
A Lambda function that processes documents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIntermediateStorage(IntermediateStorage intermediateStorage)
An S3 bucket path for input and output objects.
|
void |
setTransformations(Collection<Transformation> transformations)
A Lambda function that processes documents.
|
String |
toString()
Returns a string representation of this object.
|
CustomTransformationConfiguration |
withIntermediateStorage(IntermediateStorage intermediateStorage)
An S3 bucket path for input and output objects.
|
CustomTransformationConfiguration |
withTransformations(Collection<Transformation> transformations)
A Lambda function that processes documents.
|
CustomTransformationConfiguration |
withTransformations(Transformation... transformations)
A Lambda function that processes documents.
|
public void setIntermediateStorage(IntermediateStorage intermediateStorage)
An S3 bucket path for input and output objects.
intermediateStorage
- An S3 bucket path for input and output objects.public IntermediateStorage getIntermediateStorage()
An S3 bucket path for input and output objects.
public CustomTransformationConfiguration withIntermediateStorage(IntermediateStorage intermediateStorage)
An S3 bucket path for input and output objects.
intermediateStorage
- An S3 bucket path for input and output objects.public List<Transformation> getTransformations()
A Lambda function that processes documents.
public void setTransformations(Collection<Transformation> transformations)
A Lambda function that processes documents.
transformations
- A Lambda function that processes documents.public CustomTransformationConfiguration withTransformations(Transformation... transformations)
A Lambda function that processes documents.
NOTE: This method appends the values to the existing list (if any). Use
setTransformations(java.util.Collection)
or withTransformations(java.util.Collection)
if you
want to override the existing values.
transformations
- A Lambda function that processes documents.public CustomTransformationConfiguration withTransformations(Collection<Transformation> transformations)
A Lambda function that processes documents.
transformations
- A Lambda function that processes documents.public String toString()
toString
in class Object
Object.toString()
public CustomTransformationConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.