com.pulumi.awsnative.databrew.kotlin.outputs.JobS3Location.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
/**
* S3 Output location
* @property bucket The Amazon S3 bucket name.
* @property bucketOwner The AWS account ID of the bucket owner.
* @property key The unique name of the object in the bucket.
*/
public data class JobS3Location(
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.JobS3Location): JobS3Location = JobS3Location(
bucket = javaType.bucket(),
bucketOwner = javaType.bucketOwner().map({ args0 -> args0 }).orElse(null),
key = javaType.key().map({ args0 -> args0 }).orElse(null),
)
}
}