![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.digitalocean.kotlin.inputs.GetLoadBalancerPlainArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-digitalocean-kotlin Show documentation
Show all versions of pulumi-digitalocean-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.digitalocean.kotlin.inputs
import com.pulumi.digitalocean.inputs.GetLoadBalancerPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getLoadBalancer.
* @property id The ID of load balancer.
* @property name The name of load balancer.
*/
public data class GetLoadBalancerPlainArgs(
public val id: String? = null,
public val name: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.digitalocean.inputs.GetLoadBalancerPlainArgs =
com.pulumi.digitalocean.inputs.GetLoadBalancerPlainArgs.builder()
.id(id?.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetLoadBalancerPlainArgs].
*/
@PulumiTagMarker
public class GetLoadBalancerPlainArgsBuilder internal constructor() {
private var id: String? = null
private var name: String? = null
/**
* @param value The ID of load balancer.
*/
@JvmName("tnxktjsfcxudymlr")
public suspend fun id(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.id = mapped
}
/**
* @param value The name of load balancer.
*/
@JvmName("fhyepednfogpqesu")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetLoadBalancerPlainArgs = GetLoadBalancerPlainArgs(
id = id,
name = name,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy