
com.pulumi.awsnative.evidently.kotlin.inputs.ProjectS3DestinationArgs.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.evidently.kotlin.inputs
import com.pulumi.awsnative.evidently.inputs.ProjectS3DestinationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property bucketName The name of the bucket in which Evidently stores evaluation events.
* @property prefix The bucket prefix in which Evidently stores evaluation events.
*/
public data class ProjectS3DestinationArgs(
public val bucketName: Output,
public val prefix: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.evidently.inputs.ProjectS3DestinationArgs =
com.pulumi.awsnative.evidently.inputs.ProjectS3DestinationArgs.builder()
.bucketName(bucketName.applyValue({ args0 -> args0 }))
.prefix(prefix?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ProjectS3DestinationArgs].
*/
@PulumiTagMarker
public class ProjectS3DestinationArgsBuilder internal constructor() {
private var bucketName: Output? = null
private var prefix: Output? = null
/**
* @param value The name of the bucket in which Evidently stores evaluation events.
*/
@JvmName("ukgnabkpwotxebju")
public suspend fun bucketName(`value`: Output) {
this.bucketName = value
}
/**
* @param value The bucket prefix in which Evidently stores evaluation events.
*/
@JvmName("fnobmuhhkgwiconv")
public suspend fun prefix(`value`: Output) {
this.prefix = value
}
/**
* @param value The name of the bucket in which Evidently stores evaluation events.
*/
@JvmName("jnkulusqlekqlrvs")
public suspend fun bucketName(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.bucketName = mapped
}
/**
* @param value The bucket prefix in which Evidently stores evaluation events.
*/
@JvmName("oufaxyxpxbftwpqt")
public suspend fun prefix(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.prefix = mapped
}
internal fun build(): ProjectS3DestinationArgs = ProjectS3DestinationArgs(
bucketName = bucketName ?: throw PulumiNullFieldException("bucketName"),
prefix = prefix,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy