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

com.pulumi.awsnative.customerprofiles.kotlin.inputs.IntegrationS3SourcePropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.customerprofiles.kotlin.inputs

import com.pulumi.awsnative.customerprofiles.inputs.IntegrationS3SourcePropertiesArgs.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 Amazon S3 bucket name where the source files are stored.
 * @property bucketPrefix The object key for the Amazon S3 bucket in which the source files are stored.
 */
public data class IntegrationS3SourcePropertiesArgs(
    public val bucketName: Output,
    public val bucketPrefix: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.customerprofiles.inputs.IntegrationS3SourcePropertiesArgs =
        com.pulumi.awsnative.customerprofiles.inputs.IntegrationS3SourcePropertiesArgs.builder()
            .bucketName(bucketName.applyValue({ args0 -> args0 }))
            .bucketPrefix(bucketPrefix?.applyValue({ args0 -> args0 })).build()
}

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

    private var bucketPrefix: Output? = null

    /**
     * @param value The Amazon S3 bucket name where the source files are stored.
     */
    @JvmName("ygphmjtlwwauynug")
    public suspend fun bucketName(`value`: Output) {
        this.bucketName = value
    }

    /**
     * @param value The object key for the Amazon S3 bucket in which the source files are stored.
     */
    @JvmName("jkpkfuphkotxhnxe")
    public suspend fun bucketPrefix(`value`: Output) {
        this.bucketPrefix = value
    }

    /**
     * @param value The Amazon S3 bucket name where the source files are stored.
     */
    @JvmName("hkkevwlxwpjwfqsm")
    public suspend fun bucketName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.bucketName = mapped
    }

    /**
     * @param value The object key for the Amazon S3 bucket in which the source files are stored.
     */
    @JvmName("nluvfsomauihlllv")
    public suspend fun bucketPrefix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.bucketPrefix = mapped
    }

    internal fun build(): IntegrationS3SourcePropertiesArgs = IntegrationS3SourcePropertiesArgs(
        bucketName = bucketName ?: throw PulumiNullFieldException("bucketName"),
        bucketPrefix = bucketPrefix,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy