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

com.pulumi.gcp.dataproc.kotlin.inputs.WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.dataproc.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property clusterNamespace A namespace within the GKE cluster to deploy into.
 * @property targetGkeCluster The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'
 */
public data class
WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs(
    public val clusterNamespace: Output? = null,
    public val targetGkeCluster: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs =
        com.pulumi.gcp.dataproc.inputs.WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs.builder()
            .clusterNamespace(clusterNamespace?.applyValue({ args0 -> args0 }))
            .targetGkeCluster(targetGkeCluster?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs].
 */
@PulumiTagMarker
public class
WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgsBuilder
internal constructor() {
    private var clusterNamespace: Output? = null

    private var targetGkeCluster: Output? = null

    /**
     * @param value A namespace within the GKE cluster to deploy into.
     */
    @JvmName("awfisgtanfftopay")
    public suspend fun clusterNamespace(`value`: Output) {
        this.clusterNamespace = value
    }

    /**
     * @param value The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'
     */
    @JvmName("ghrprxcejmbsmjdv")
    public suspend fun targetGkeCluster(`value`: Output) {
        this.targetGkeCluster = value
    }

    /**
     * @param value A namespace within the GKE cluster to deploy into.
     */
    @JvmName("acooqgcufkcaiaig")
    public suspend fun clusterNamespace(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.clusterNamespace = mapped
    }

    /**
     * @param value The target GKE cluster to deploy to. Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}'
     */
    @JvmName("tcrjjfdvkxbysqcq")
    public suspend fun targetGkeCluster(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetGkeCluster = mapped
    }

    internal fun build(): WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs =
        WorkflowTemplatePlacementManagedClusterConfigGkeClusterConfigNamespacedGkeDeploymentTargetArgs(
            clusterNamespace = clusterNamespace,
            targetGkeCluster = targetGkeCluster,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy