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

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

package com.pulumi.gcp.container.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.container.inputs.ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property podRangeNames The names of the Pod ranges to add to the cluster.
 */
public data class ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs(
    public val podRangeNames: Output>,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.container.inputs.ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs =
        com.pulumi.gcp.container.inputs.ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs.builder()
            .podRangeNames(podRangeNames.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs].
 */
@PulumiTagMarker
public class ClusterIpAllocationPolicyAdditionalPodRangesConfigArgsBuilder internal constructor() {
    private var podRangeNames: Output>? = null

    /**
     * @param value The names of the Pod ranges to add to the cluster.
     */
    @JvmName("xkvesgymjfhcowld")
    public suspend fun podRangeNames(`value`: Output>) {
        this.podRangeNames = value
    }

    @JvmName("qmjbitqrtxqkiqsh")
    public suspend fun podRangeNames(vararg values: Output) {
        this.podRangeNames = Output.all(values.asList())
    }

    /**
     * @param values The names of the Pod ranges to add to the cluster.
     */
    @JvmName("bjtkwpmvapycxfhy")
    public suspend fun podRangeNames(values: List>) {
        this.podRangeNames = Output.all(values)
    }

    /**
     * @param value The names of the Pod ranges to add to the cluster.
     */
    @JvmName("jvnxqirphwltxxmt")
    public suspend fun podRangeNames(`value`: List) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.podRangeNames = mapped
    }

    /**
     * @param values The names of the Pod ranges to add to the cluster.
     */
    @JvmName("lfvmaicpbcnoxfkl")
    public suspend fun podRangeNames(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.podRangeNames = mapped
    }

    internal fun build(): ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs =
        ClusterIpAllocationPolicyAdditionalPodRangesConfigArgs(
            podRangeNames = podRangeNames ?: throw PulumiNullFieldException("podRangeNames"),
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy