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

com.pulumi.azure.hdinsight.kotlin.inputs.HadoopClusterRolesEdgeNodeHttpsEndpointArgs.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.hdinsight.kotlin.inputs

import com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeHttpsEndpointArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property accessModes A list of access modes for the application.
 * @property destinationPort The destination port to connect to.
 * @property disableGatewayAuth The value indicates whether the gateway authentication is enabled or not.
 * @property privateIpAddress The private ip address of the endpoint.
 * @property subDomainSuffix The application's subdomain suffix.
 */
public data class HadoopClusterRolesEdgeNodeHttpsEndpointArgs(
    public val accessModes: Output>? = null,
    public val destinationPort: Output? = null,
    public val disableGatewayAuth: Output? = null,
    public val privateIpAddress: Output? = null,
    public val subDomainSuffix: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeHttpsEndpointArgs =
        com.pulumi.azure.hdinsight.inputs.HadoopClusterRolesEdgeNodeHttpsEndpointArgs.builder()
            .accessModes(accessModes?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .destinationPort(destinationPort?.applyValue({ args0 -> args0 }))
            .disableGatewayAuth(disableGatewayAuth?.applyValue({ args0 -> args0 }))
            .privateIpAddress(privateIpAddress?.applyValue({ args0 -> args0 }))
            .subDomainSuffix(subDomainSuffix?.applyValue({ args0 -> args0 })).build()
}

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

    private var destinationPort: Output? = null

    private var disableGatewayAuth: Output? = null

    private var privateIpAddress: Output? = null

    private var subDomainSuffix: Output? = null

    /**
     * @param value A list of access modes for the application.
     */
    @JvmName("ggssvsjfcpghdxdb")
    public suspend fun accessModes(`value`: Output>) {
        this.accessModes = value
    }

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

    /**
     * @param values A list of access modes for the application.
     */
    @JvmName("xmdipocntxpccjct")
    public suspend fun accessModes(values: List>) {
        this.accessModes = Output.all(values)
    }

    /**
     * @param value The destination port to connect to.
     */
    @JvmName("vhewnggitwarikmc")
    public suspend fun destinationPort(`value`: Output) {
        this.destinationPort = value
    }

    /**
     * @param value The value indicates whether the gateway authentication is enabled or not.
     */
    @JvmName("lojuorvpiuafkrfg")
    public suspend fun disableGatewayAuth(`value`: Output) {
        this.disableGatewayAuth = value
    }

    /**
     * @param value The private ip address of the endpoint.
     */
    @JvmName("gsbaugmdnamicwxq")
    public suspend fun privateIpAddress(`value`: Output) {
        this.privateIpAddress = value
    }

    /**
     * @param value The application's subdomain suffix.
     */
    @JvmName("asmtrhdtabvvprxp")
    public suspend fun subDomainSuffix(`value`: Output) {
        this.subDomainSuffix = value
    }

    /**
     * @param value A list of access modes for the application.
     */
    @JvmName("tppomubjbudxutxd")
    public suspend fun accessModes(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessModes = mapped
    }

    /**
     * @param values A list of access modes for the application.
     */
    @JvmName("ihnjqojiysaydtux")
    public suspend fun accessModes(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accessModes = mapped
    }

    /**
     * @param value The destination port to connect to.
     */
    @JvmName("lcxrexlwdpxjsgtx")
    public suspend fun destinationPort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.destinationPort = mapped
    }

    /**
     * @param value The value indicates whether the gateway authentication is enabled or not.
     */
    @JvmName("bqpjnrqrkyqothxt")
    public suspend fun disableGatewayAuth(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.disableGatewayAuth = mapped
    }

    /**
     * @param value The private ip address of the endpoint.
     */
    @JvmName("dubjkyoqmqepbxck")
    public suspend fun privateIpAddress(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.privateIpAddress = mapped
    }

    /**
     * @param value The application's subdomain suffix.
     */
    @JvmName("exgwxifxpljvugiv")
    public suspend fun subDomainSuffix(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.subDomainSuffix = mapped
    }

    internal fun build(): HadoopClusterRolesEdgeNodeHttpsEndpointArgs =
        HadoopClusterRolesEdgeNodeHttpsEndpointArgs(
            accessModes = accessModes,
            destinationPort = destinationPort,
            disableGatewayAuth = disableGatewayAuth,
            privateIpAddress = privateIpAddress,
            subDomainSuffix = subDomainSuffix,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy