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

com.pulumi.gcp.blockchainnodeengine.kotlin.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs.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.blockchainnodeengine.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs.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

/**
 *
 * @property mevRelayUrls URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
 */
public data class BlockchainNodesEthereumDetailsValidatorConfigArgs(
    public val mevRelayUrls: Output>? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs =
        com.pulumi.gcp.blockchainnodeengine.inputs.BlockchainNodesEthereumDetailsValidatorConfigArgs.builder()
            .mevRelayUrls(mevRelayUrls?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    /**
     * @param value URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
     */
    @JvmName("usdrfgupkxjdgmks")
    public suspend fun mevRelayUrls(`value`: Output>) {
        this.mevRelayUrls = value
    }

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

    /**
     * @param values URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
     */
    @JvmName("jjcjhredwdlwusjh")
    public suspend fun mevRelayUrls(values: List>) {
        this.mevRelayUrls = Output.all(values)
    }

    /**
     * @param value URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
     */
    @JvmName("pbrnchgnirnbbyml")
    public suspend fun mevRelayUrls(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mevRelayUrls = mapped
    }

    /**
     * @param values URLs for MEV-relay services to use for block building. When set, a managed MEV-boost service is configured on the beacon client.
     */
    @JvmName("qvrtbigrvhfssesq")
    public suspend fun mevRelayUrls(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.mevRelayUrls = mapped
    }

    internal fun build(): BlockchainNodesEthereumDetailsValidatorConfigArgs =
        BlockchainNodesEthereumDetailsValidatorConfigArgs(
            mevRelayUrls = mevRelayUrls,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy