All Downloads are FREE. Search and download functionalities are using the official Maven repository.

zio.dynamodb.AttributeDefinition.scala Maven / Gradle / Ivy

The newest version!
package zio.dynamodb

import scala.annotation.nowarn

@nowarn
final case class AttributeDefinition private (
  name: String,
  attributeType: PrimitiveValueType
)
object AttributeDefinition {
  def attrDefnBinary(name: String): AttributeDefinition = AttributeDefinition(name, AttributeValueType.Binary)
  def attrDefnNumber(name: String): AttributeDefinition = AttributeDefinition(name, AttributeValueType.Number)
  def attrDefnString(name: String): AttributeDefinition = AttributeDefinition(name, AttributeValueType.String)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy