Package | Description |
---|---|
software.amazon.awssdk.enhanced.dynamodb.mapper |
Modifier and Type | Method and Description |
---|---|
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.addTag(StaticAttributeTag tag)
Associates a single
StaticAttributeTag with this attribute. |
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.attributeConverter(AttributeConverter<R> attributeConverter)
An
AttributeConverter for the attribute type (EnhancedType ), that can convert this attribute. |
static <T,R> StaticAttribute.Builder<T,R> |
StaticAttribute.builder(Class<T> itemClass,
Class<R> attributeClass)
Constructs a new builder for this class using supplied types.
|
static <T,R> StaticAttribute.Builder<T,R> |
StaticAttribute.builder(Class<T> itemClass,
EnhancedType<R> attributeType)
Constructs a new builder for this class using supplied types.
|
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.getter(Function<T,R> getter)
A function that can get the value of this attribute from a modelled item it composes.
|
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.name(String name)
The name of this attribute
|
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.setter(BiConsumer<T,R> setter)
A function that can set the value of this attribute on a modelled item it composes.
|
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.tags(Collection<StaticAttributeTag> tags)
A collection of
StaticAttributeTag associated with this attribute. |
StaticAttribute.Builder<T,R> |
StaticAttribute.Builder.tags(StaticAttributeTag... tags)
A collection of
StaticAttributeTag associated with this attribute. |
StaticAttribute.Builder<T,R> |
StaticAttribute.toBuilder()
Converts an instance of this class to a
StaticAttribute.Builder that can be used to modify and reconstruct it. |
Modifier and Type | Method and Description |
---|---|
<R> StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.addAttribute(Class<R> attributeClass,
Consumer<StaticAttribute.Builder<T,R>> staticAttribute)
Adds a single attribute to the table schema that can be mapped between the data item object and the database
record.
|
<R> StaticTableSchema.Builder<T> |
StaticTableSchema.Builder.addAttribute(EnhancedType<R> attributeType,
Consumer<StaticAttribute.Builder<T,R>> staticAttribute)
Adds a single attribute to the table schema that can be mapped between the data item object and the database
record.
|
Copyright © 2020. All rights reserved.