Uses of Class
software.amazon.awssdk.enhanced.dynamodb.mapper.StaticTableSchema.Builder
Packages that use StaticTableSchema.Builder
Package
Description
-
Uses of StaticTableSchema.Builder in software.amazon.awssdk.enhanced.dynamodb
Methods in software.amazon.awssdk.enhanced.dynamodb that return StaticTableSchema.BuilderModifier and TypeMethodDescriptionstatic <T> StaticTableSchema.Builder<T>Returns a builder for theStaticTableSchemaimplementation of this interface which allows all attributes, tags and table structure to be directly declared in the builder.static <T> StaticTableSchema.Builder<T>TableSchema.builder(EnhancedType<T> itemType) Returns a builder for theStaticTableSchemaimplementation of this interface which allows all attributes, tags and table structure to be directly declared in the builder. -
Uses of StaticTableSchema.Builder in software.amazon.awssdk.enhanced.dynamodb.mapper
Methods in software.amazon.awssdk.enhanced.dynamodb.mapper that return StaticTableSchema.BuilderModifier and TypeMethodDescriptionStaticTableSchema.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.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.StaticTableSchema.Builder.addAttribute(StaticAttribute<T, ?> staticAttribute) Adds a single attribute to the table schema that can be mapped between the data item object and the database record.StaticTableSchema.Builder.addTag(StaticTableTag staticTableTag) Associates aStaticTableTagwith this schema.StaticTableSchema.Builder.attributeConverterProviders(List<AttributeConverterProvider> attributeConverterProviders) Specifies theAttributeConverterProviders to use with the table schema.StaticTableSchema.Builder.attributeConverterProviders(AttributeConverterProvider... attributeConverterProviders) Specifies theAttributeConverterProviders to use with the table schema.StaticTableSchema.Builder.attributes(Collection<StaticAttribute<T, ?>> staticAttributes) A list of attributes that can be mapped between the data item object and the database record that are to be associated with the schema.final StaticTableSchema.Builder<T>StaticTableSchema.Builder.attributes(StaticAttribute<T, ?>... staticAttributes) A list of attributes that can be mapped between the data item object and the database record that are to be associated with the schema.static <T> StaticTableSchema.Builder<T>Creates a builder for aStaticTableSchematyped to specific data item class.static <T> StaticTableSchema.Builder<T>StaticTableSchema.builder(EnhancedType<T> itemType) Creates a builder for aStaticTableSchematyped to specific data item class.StaticTableSchema.Builder.extend(StaticTableSchema<? super T> superTableSchema) Extends theStaticTableSchemaof a super-class, effectively rolling all the attributes modelled by the super-class into theStaticTableSchemaof the sub-class.StaticTableSchema.Builder.flatten(String mapName, Function<T, Map<String, String>> mapItemGetter, BiConsumer<T, Map<String, String>> mapItemSetter) Flattens all the attributes defined in a Map into the database record this schema maps to.StaticTableSchema.Builder.flatten(TableSchema<R> otherTableSchema, Function<T, R> otherItemGetter, BiConsumer<T, R> otherItemSetter) Flattens all the attributes defined in anotherStaticTableSchemainto the database record this schema maps to.StaticTableSchema.Builder.newItemSupplier(Supplier<T> newItemSupplier) A function that can be used to create new instances of the data item class.StaticTableSchema.Builder.tags(Collection<StaticTableTag> staticTableTags) Associate one or moreStaticTableTagwith this schema.StaticTableSchema.Builder.tags(StaticTableTag... staticTableTags) Associate one or moreStaticTableTagwith this schema.