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

com.pulumi.awsnative.simspaceweaver.kotlin.inputs.SimulationS3LocationArgs.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.simspaceweaver.kotlin.inputs

import com.pulumi.awsnative.simspaceweaver.inputs.SimulationS3LocationArgs.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 Schema S3 bucket name.
 * @property objectKey This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
 */
public data class SimulationS3LocationArgs(
    public val bucketName: Output,
    public val objectKey: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.simspaceweaver.inputs.SimulationS3LocationArgs =
        com.pulumi.awsnative.simspaceweaver.inputs.SimulationS3LocationArgs.builder()
            .bucketName(bucketName.applyValue({ args0 -> args0 }))
            .objectKey(objectKey.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SimulationS3LocationArgs].
 */
@PulumiTagMarker
public class SimulationS3LocationArgsBuilder internal constructor() {
    private var bucketName: Output? = null

    private var objectKey: Output? = null

    /**
     * @param value The Schema S3 bucket name.
     */
    @JvmName("ngiepiapcrnfygvc")
    public suspend fun bucketName(`value`: Output) {
        this.bucketName = value
    }

    /**
     * @param value This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
     */
    @JvmName("rrrbwexgpnuwaimi")
    public suspend fun objectKey(`value`: Output) {
        this.objectKey = value
    }

    /**
     * @param value The Schema S3 bucket name.
     */
    @JvmName("ntwhislcvebufugb")
    public suspend fun bucketName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bucketName = mapped
    }

    /**
     * @param value This is the schema S3 object key, which includes the full path of "folders" from the bucket root to the schema.
     */
    @JvmName("xbhkismdqsjhxaip")
    public suspend fun objectKey(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.objectKey = mapped
    }

    internal fun build(): SimulationS3LocationArgs = SimulationS3LocationArgs(
        bucketName = bucketName ?: throw PulumiNullFieldException("bucketName"),
        objectKey = objectKey ?: throw PulumiNullFieldException("objectKey"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy