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

com.pulumi.awsnative.appstream.kotlin.inputs.ApplicationS3LocationArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.appstream.kotlin.inputs

import com.pulumi.awsnative.appstream.inputs.ApplicationS3LocationArgs.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 s3Bucket The S3 bucket of the S3 object.
 * @property s3Key The S3 key of the S3 object.
 */
public data class ApplicationS3LocationArgs(
    public val s3Bucket: Output,
    public val s3Key: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.appstream.inputs.ApplicationS3LocationArgs =
        com.pulumi.awsnative.appstream.inputs.ApplicationS3LocationArgs.builder()
            .s3Bucket(s3Bucket.applyValue({ args0 -> args0 }))
            .s3Key(s3Key.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ApplicationS3LocationArgs].
 */
@PulumiTagMarker
public class ApplicationS3LocationArgsBuilder internal constructor() {
    private var s3Bucket: Output? = null

    private var s3Key: Output? = null

    /**
     * @param value The S3 bucket of the S3 object.
     */
    @JvmName("tpxklawxwoqqwloh")
    public suspend fun s3Bucket(`value`: Output) {
        this.s3Bucket = value
    }

    /**
     * @param value The S3 key of the S3 object.
     */
    @JvmName("bucwvponbvpctpdd")
    public suspend fun s3Key(`value`: Output) {
        this.s3Key = value
    }

    /**
     * @param value The S3 bucket of the S3 object.
     */
    @JvmName("fwkfhxhptlpjdynq")
    public suspend fun s3Bucket(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3Bucket = mapped
    }

    /**
     * @param value The S3 key of the S3 object.
     */
    @JvmName("kfwesrmulisoijhd")
    public suspend fun s3Key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3Key = mapped
    }

    internal fun build(): ApplicationS3LocationArgs = ApplicationS3LocationArgs(
        s3Bucket = s3Bucket ?: throw PulumiNullFieldException("s3Bucket"),
        s3Key = s3Key ?: throw PulumiNullFieldException("s3Key"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy