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

awscala.dynamodbv2.AttributeDefinition.scala Maven / Gradle / Ivy

The newest version!
package awscala.dynamodbv2

import com.amazonaws.services.{ dynamodbv2 => aws }

object AttributeDefinition {
  def apply(a: aws.model.AttributeDefinition): AttributeDefinition = new AttributeDefinition(
    name = a.getAttributeName,
    scalarType = aws.model.ScalarAttributeType.fromValue(a.getAttributeType))
}

case class AttributeDefinition(name: String, scalarType: aws.model.ScalarAttributeType) extends aws.model.AttributeDefinition {
  setAttributeName(name)
  setAttributeType(scalarType)
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy