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

io.atlassian.aws.dynamodb.Underlying.scala Maven / Gradle / Ivy

The newest version!
package io.atlassian.aws.dynamodb

import com.amazonaws.services.dynamodbv2.model.{ AttributeDefinition => AttrDef }

private[dynamodb] object Underlying {
  sealed trait Type {
    def apply(name: String): AttrDef
  }
  case object StringType extends Type {
    def apply(name: String) = AttributeDefinition.string(name)
  }
  case object NumberType extends Type {
    def apply(name: String) = AttributeDefinition.number(name)
  }
  case object BinaryType extends Type {
    def apply(name: String) = AttributeDefinition.binary(name)
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy