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

com.pulumi.awsnative.databrew.kotlin.inputs.JobS3LocationArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.JobS3LocationArgs.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

/**
 * S3 Output location
 * @property bucket The Amazon S3 bucket name.
 * @property bucketOwner The AWS account ID of the bucket owner.
 * @property key The unique name of the object in the bucket.
 */
public data class JobS3LocationArgs(
    public val bucket: Output,
    public val bucketOwner: Output? = null,
    public val key: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobS3LocationArgs =
        com.pulumi.awsnative.databrew.inputs.JobS3LocationArgs.builder()
            .bucket(bucket.applyValue({ args0 -> args0 }))
            .bucketOwner(bucketOwner?.applyValue({ args0 -> args0 }))
            .key(key?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobS3LocationArgs].
 */
@PulumiTagMarker
public class JobS3LocationArgsBuilder internal constructor() {
    private var bucket: Output? = null

    private var bucketOwner: Output? = null

    private var key: Output? = null

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

    /**
     * @param value The AWS account ID of the bucket owner.
     */
    @JvmName("cotgvfxiquwyiyru")
    public suspend fun bucketOwner(`value`: Output) {
        this.bucketOwner = value
    }

    /**
     * @param value The unique name of the object in the bucket.
     */
    @JvmName("kfwgtfqmuidrptma")
    public suspend fun key(`value`: Output) {
        this.key = value
    }

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

    /**
     * @param value The AWS account ID of the bucket owner.
     */
    @JvmName("uteckdnuvtnwhvdf")
    public suspend fun bucketOwner(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bucketOwner = mapped
    }

    /**
     * @param value The unique name of the object in the bucket.
     */
    @JvmName("bmxnuaqftouxodpi")
    public suspend fun key(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.key = mapped
    }

    internal fun build(): JobS3LocationArgs = JobS3LocationArgs(
        bucket = bucket ?: throw PulumiNullFieldException("bucket"),
        bucketOwner = bucketOwner,
        key = key,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy