@Target(value=TYPE) @Retention(value=RUNTIME) public @interface DynamoDbImmutable
ImmutableTableSchema must have this annotation. If a class is used as an attribute type within another
annotated DynamoDb class, either as a document or flattened with the DynamoDbFlatten annotation, it will also
require this annotation to work automatically without an explicit AttributeConverter.
Attribute Converter Providers
Using AttributeConverterProviders is optional and, if used, the supplied provider supersedes the default
converter provided by the table schema.
Note:
AttributeConverters for all types used in the schema.
(converterProviders = {CustomAttributeConverter.class, DefaultAttributeConverterProvider.class});
| Modifier and Type | Required Element and Description |
|---|---|
Class<?> |
builder
The builder class that can be used to construct instances of the annotated immutable class
|
| Modifier and Type | Optional Element and Description |
|---|---|
Class<? extends AttributeConverterProvider>[] |
converterProviders |
public abstract Class<?> builder
public abstract Class<? extends AttributeConverterProvider>[] converterProviders
Copyright © 2020. All rights reserved.