Class ChainConverterProvider
java.lang.Object
software.amazon.awssdk.enhanced.dynamodb.internal.converter.ChainConverterProvider
- All Implemented Interfaces:
 AttributeConverterProvider
A 
AttributeConverterProvider that allows multiple providers to be chained in a specified order
 to act as a single composite provider. When searching for an attribute converter for a type,
 the providers will be called in forward/ascending order, attempting to find a converter from the
 first provider, then the second, and so on, until a match is found or the operation fails.- 
Method Summary
Modifier and TypeMethodDescription<T> AttributeConverter<T> converterFor(EnhancedType<T> enhancedType) Finds aAttributeConverterfor converting an object with a type specified by aEnhancedTypeto aAttributeValueand back.static ChainConverterProvidercreate(List<AttributeConverterProvider> providers) Construct a new instance ofChainConverterProvider.static ChainConverterProvidercreate(AttributeConverterProvider... providers) Construct a new instance ofChainConverterProvider.booleaninthashCode() 
- 
Method Details
- 
create
Construct a new instance ofChainConverterProvider.- Parameters:
 providers- A list ofAttributeConverterProviderto chain together.- Returns:
 - A constructed 
ChainConverterProviderobject. 
 - 
create
Construct a new instance ofChainConverterProvider.- Parameters:
 providers- A list ofAttributeConverterProviderto chain together.- Returns:
 - A constructed 
ChainConverterProviderobject. 
 - 
chainedProviders
 - 
converterFor
Description copied from interface:AttributeConverterProviderFinds aAttributeConverterfor converting an object with a type specified by aEnhancedTypeto aAttributeValueand back.- Specified by:
 converterForin interfaceAttributeConverterProvider- Parameters:
 enhancedType- The type of the object to be converted- Returns:
 AttributeConverterfor converting the given type.
 - 
equals
 - 
hashCode
public int hashCode() 
 -