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

com.pulumi.awsnative.robomaker.kotlin.inputs.RobotApplicationSourceConfigArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.robomaker.kotlin.inputs

import com.pulumi.awsnative.robomaker.inputs.RobotApplicationSourceConfigArgs.builder
import com.pulumi.awsnative.robomaker.kotlin.enums.RobotApplicationSourceConfigArchitecture
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 architecture The architecture of robot application.
 * @property s3Bucket The Arn of the S3Bucket that stores the robot application source.
 * @property s3Key The s3 key of robot application source.
 */
public data class RobotApplicationSourceConfigArgs(
    public val architecture: Output,
    public val s3Bucket: Output,
    public val s3Key: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.robomaker.inputs.RobotApplicationSourceConfigArgs =
        com.pulumi.awsnative.robomaker.inputs.RobotApplicationSourceConfigArgs.builder()
            .architecture(architecture.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .s3Bucket(s3Bucket.applyValue({ args0 -> args0 }))
            .s3Key(s3Key.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [RobotApplicationSourceConfigArgs].
 */
@PulumiTagMarker
public class RobotApplicationSourceConfigArgsBuilder internal constructor() {
    private var architecture: Output? = null

    private var s3Bucket: Output? = null

    private var s3Key: Output? = null

    /**
     * @param value The architecture of robot application.
     */
    @JvmName("knkwxajherdiaicm")
    public suspend fun architecture(`value`: Output) {
        this.architecture = value
    }

    /**
     * @param value The Arn of the S3Bucket that stores the robot application source.
     */
    @JvmName("gkgbwsnaicubeigf")
    public suspend fun s3Bucket(`value`: Output) {
        this.s3Bucket = value
    }

    /**
     * @param value The s3 key of robot application source.
     */
    @JvmName("lidhmywbejmkebpw")
    public suspend fun s3Key(`value`: Output) {
        this.s3Key = value
    }

    /**
     * @param value The architecture of robot application.
     */
    @JvmName("xkdvvxklyjixisbm")
    public suspend fun architecture(`value`: RobotApplicationSourceConfigArchitecture) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.architecture = mapped
    }

    /**
     * @param value The Arn of the S3Bucket that stores the robot application source.
     */
    @JvmName("vrnwxfdhobhhssqi")
    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 robot application source.
     */
    @JvmName("mhnftxsccullfixh")
    public suspend fun s3Key(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.s3Key = mapped
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy