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

com.pulumi.alicloud.eds.kotlin.inputs.GetNetworkPackagesPlainArgs.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: 3.62.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.alicloud.eds.kotlin.inputs

import com.pulumi.alicloud.eds.inputs.GetNetworkPackagesPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * A collection of arguments for invoking getNetworkPackages.
 * @property ids A list of Network Package IDs.
 * @property outputFile File name where to save data source results (after running `pulumi preview`).
 * @property status The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
 */
public data class GetNetworkPackagesPlainArgs(
    public val ids: List? = null,
    public val outputFile: String? = null,
    public val status: String? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.alicloud.eds.inputs.GetNetworkPackagesPlainArgs =
        com.pulumi.alicloud.eds.inputs.GetNetworkPackagesPlainArgs.builder()
            .ids(ids?.let({ args0 -> args0.map({ args0 -> args0 }) }))
            .outputFile(outputFile?.let({ args0 -> args0 }))
            .status(status?.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetNetworkPackagesPlainArgs].
 */
@PulumiTagMarker
public class GetNetworkPackagesPlainArgsBuilder internal constructor() {
    private var ids: List? = null

    private var outputFile: String? = null

    private var status: String? = null

    /**
     * @param value A list of Network Package IDs.
     */
    @JvmName("lfnlayvtaguwsqbw")
    public suspend fun ids(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.ids = mapped
    }

    /**
     * @param values A list of Network Package IDs.
     */
    @JvmName("yhdsslscnyauogwl")
    public suspend fun ids(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.ids = mapped
    }

    /**
     * @param value File name where to save data source results (after running `pulumi preview`).
     */
    @JvmName("tkyxmtiokxpacidw")
    public suspend fun outputFile(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.outputFile = mapped
    }

    /**
     * @param value The status of network package. Valid values: `Creating`, `InUse`, `Releasing`,`Released`.
     */
    @JvmName("rfnajmbwckxifvlo")
    public suspend fun status(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> args0 })
        this.status = mapped
    }

    internal fun build(): GetNetworkPackagesPlainArgs = GetNetworkPackagesPlainArgs(
        ids = ids,
        outputFile = outputFile,
        status = status,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy