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

com.pulumi.awsnative.datazone.kotlin.inputs.DataSourceRedshiftClusterStorageArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.datazone.kotlin.inputs

import com.pulumi.awsnative.datazone.inputs.DataSourceRedshiftClusterStorageArgs.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

/**
 * The name of an Amazon Redshift cluster.
 * @property clusterName The name of an Amazon Redshift cluster.
 */
public data class DataSourceRedshiftClusterStorageArgs(
    public val clusterName: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datazone.inputs.DataSourceRedshiftClusterStorageArgs =
        com.pulumi.awsnative.datazone.inputs.DataSourceRedshiftClusterStorageArgs.builder()
            .clusterName(clusterName.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DataSourceRedshiftClusterStorageArgs].
 */
@PulumiTagMarker
public class DataSourceRedshiftClusterStorageArgsBuilder internal constructor() {
    private var clusterName: Output? = null

    /**
     * @param value The name of an Amazon Redshift cluster.
     */
    @JvmName("tqluuapmvatceotj")
    public suspend fun clusterName(`value`: Output) {
        this.clusterName = value
    }

    /**
     * @param value The name of an Amazon Redshift cluster.
     */
    @JvmName("isdxwvyyvpepsnux")
    public suspend fun clusterName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterName = mapped
    }

    internal fun build(): DataSourceRedshiftClusterStorageArgs = DataSourceRedshiftClusterStorageArgs(
        clusterName = clusterName ?: throw PulumiNullFieldException("clusterName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy