
com.pulumi.awsnative.robomaker.kotlin.inputs.SimulationApplicationSourceConfigArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.robomaker.kotlin.inputs
import com.pulumi.awsnative.robomaker.inputs.SimulationApplicationSourceConfigArgs.builder
import com.pulumi.awsnative.robomaker.kotlin.enums.SimulationApplicationSourceConfigArchitecture
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
/**
* Information about a source configuration.
* @property architecture The target processor architecture for the application.
* @property s3Bucket The Amazon S3 bucket name.
* @property s3Key The s3 object key.
*/
public data class SimulationApplicationSourceConfigArgs(
public val architecture: Output,
public val s3Bucket: Output,
public val s3Key: Output,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.robomaker.inputs.SimulationApplicationSourceConfigArgs = com.pulumi.awsnative.robomaker.inputs.SimulationApplicationSourceConfigArgs.builder()
.architecture(architecture.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.s3Bucket(s3Bucket.applyValue({ args0 -> args0 }))
.s3Key(s3Key.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [SimulationApplicationSourceConfigArgs].
*/
@PulumiTagMarker
public class SimulationApplicationSourceConfigArgsBuilder internal constructor() {
private var architecture: Output? = null
private var s3Bucket: Output? = null
private var s3Key: Output? = null
/**
* @param value The target processor architecture for the application.
*/
@JvmName("pkijsyckiaigpeoj")
public suspend fun architecture(`value`: Output) {
this.architecture = value
}
/**
* @param value The Amazon S3 bucket name.
*/
@JvmName("ieejanvasoygoqmk")
public suspend fun s3Bucket(`value`: Output) {
this.s3Bucket = value
}
/**
* @param value The s3 object key.
*/
@JvmName("mvevqcbbvkhqrhgo")
public suspend fun s3Key(`value`: Output) {
this.s3Key = value
}
/**
* @param value The target processor architecture for the application.
*/
@JvmName("kwcdnrkpxkbgnmfd")
public suspend fun architecture(`value`: SimulationApplicationSourceConfigArchitecture) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.architecture = mapped
}
/**
* @param value The Amazon S3 bucket name.
*/
@JvmName("ohcwcjtncvfoqkys")
public suspend fun s3Bucket(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Bucket = mapped
}
/**
* @param value The s3 object key.
*/
@JvmName("wkqtpyufkppctwpm")
public suspend fun s3Key(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> of(args0) })
this.s3Key = mapped
}
internal fun build(): SimulationApplicationSourceConfigArgs =
SimulationApplicationSourceConfigArgs(
architecture = architecture ?: throw PulumiNullFieldException("architecture"),
s3Bucket = s3Bucket ?: throw PulumiNullFieldException("s3Bucket"),
s3Key = s3Key ?: throw PulumiNullFieldException("s3Key"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy