public class AttributeTransformerChain extends Object implements AttributeTransformer
AttributeTransformer that transforms and untransforms
 attributes by running them through a cascading series of child
 AttributeTransformer instances.AttributeTransformer.Parameters<T>| Constructor and Description | 
|---|
AttributeTransformerChain(AttributeTransformer... transformers)
Creates a new transformer chain from the given array of transformers. 
 | 
AttributeTransformerChain(List<AttributeTransformer> transformers)
Creates a new transformer chain from the given list of transformers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<AttributeTransformer> | 
getTransformers()  | 
String | 
toString()  | 
Map<String,AttributeValue> | 
transform(AttributeTransformer.Parameters<?> parameters)
Transforms the input set of attribute values derived from the model
 object before writing them into DynamoDB. 
 | 
Map<String,AttributeValue> | 
untransform(AttributeTransformer.Parameters<?> parameters)
Untransform the input set of attribute values read from DynamoDB before
 creating a model object from them. 
 | 
public AttributeTransformerChain(AttributeTransformer... transformers)
transformers - the chain of transformers.public AttributeTransformerChain(List<AttributeTransformer> transformers)
transformers - the chain of transformers.public List<AttributeTransformer> getTransformers()
public Map<String,AttributeValue> transform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformertransform in interface AttributeTransformerparameters - transformation parameterspublic Map<String,AttributeValue> untransform(AttributeTransformer.Parameters<?> parameters)
AttributeTransformeruntransform in interface AttributeTransformerparameters - transformation parameters