com.pulumi.awsnative.databrew.kotlin.outputs.JobOutputLocation.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.databrew.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
* Output location
* @property bucket The Amazon S3 bucket name.
* @property bucketOwner
* @property key The unique name of the object in the bucket.
*/
public data class JobOutputLocation(
public val bucket: String,
public val bucketOwner: String? = null,
public val key: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.JobOutputLocation): JobOutputLocation = JobOutputLocation(
bucket = javaType.bucket(),
bucketOwner = javaType.bucketOwner().map({ args0 -> args0 }).orElse(null),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
)
}
}