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

org.http4k.connect.amazon.model.s3.kt Maven / Gradle / Ivy

There is a newer version: 5.41.0.0
Show newest version
package org.http4k.connect.amazon.model

import dev.forkhandles.values.StringValue
import dev.forkhandles.values.StringValueFactory
import dev.forkhandles.values.minLength

class BucketName private constructor(value: String) : ResourceId(value) {

    fun toUri(region: Region) = AwsService.of("$this.s3").toUri(region)

    companion object : StringValueFactory(::BucketName, 1.minLength)
}

class BucketKey private constructor(value: String) : StringValue(value) {
    companion object : StringValueFactory(::BucketKey, 1.minLength)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy