com.pulumi.awsnative.bedrock.kotlin.inputs.AgentS3IdentifierArgs.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.bedrock.kotlin.inputs
import com.pulumi.awsnative.bedrock.inputs.AgentS3IdentifierArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* The identifier for the S3 resource.
* @property s3BucketName A bucket in S3.
* @property s3ObjectKey A object key in S3.
*/
public data class AgentS3IdentifierArgs(
public val s3BucketName: Output? = null,
public val s3ObjectKey: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.bedrock.inputs.AgentS3IdentifierArgs =
com.pulumi.awsnative.bedrock.inputs.AgentS3IdentifierArgs.builder()
.s3BucketName(s3BucketName?.applyValue({ args0 -> args0 }))
.s3ObjectKey(s3ObjectKey?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [AgentS3IdentifierArgs].
*/
@PulumiTagMarker
public class AgentS3IdentifierArgsBuilder internal constructor() {
private var s3BucketName: Output? = null
private var s3ObjectKey: Output? = null
/**
* @param value A bucket in S3.
*/
@JvmName("symxcrvvahmsralp")
public suspend fun s3BucketName(`value`: Output) {
this.s3BucketName = value
}
/**
* @param value A object key in S3.
*/
@JvmName("mwyldsfuvunnfqaa")
public suspend fun s3ObjectKey(`value`: Output) {
this.s3ObjectKey = value
}
/**
* @param value A bucket in S3.
*/
@JvmName("joaqicjbkkqsubot")
public suspend fun s3BucketName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3BucketName = mapped
}
/**
* @param value A object key in S3.
*/
@JvmName("alphscpotgwpalrw")
public suspend fun s3ObjectKey(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.s3ObjectKey = mapped
}
internal fun build(): AgentS3IdentifierArgs = AgentS3IdentifierArgs(
s3BucketName = s3BucketName,
s3ObjectKey = s3ObjectKey,
)
}