org.sisioh.aws4s.dynamodb.model.RichDeleteTableRequest.scala Maven / Gradle / Ivy
package org.sisioh.aws4s.dynamodb.model
import com.amazonaws.services.dynamodbv2.model.DeleteTableRequest
import org.sisioh.aws4s.PimpedType
object DeleteTableRequestFactory {
def create(): DeleteTableRequest = new DeleteTableRequest()
def create(tableName: String): DeleteTableRequest = new DeleteTableRequest(tableName)
}
class RichDeleteTableRequest(val underlying: DeleteTableRequest) extends AnyVal with PimpedType[DeleteTableRequest] {
// ---
def tableNameOpt: Option[String] = Option(underlying.getTableName)
def tableNameOpt_=(value: Option[String]): Unit = underlying.setTableName(value.orNull)
def withTableNameOpt(value: Option[String]): DeleteTableRequest = underlying.withTableName(value.orNull)
// ---
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy