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

com.pulumi.azurenative.machinelearningservices.kotlin.inputs.HDInsightPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.machinelearningservices.kotlin.inputs

import com.pulumi.azurenative.machinelearningservices.inputs.HDInsightPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * HDInsight compute properties
 * @property address Public IP address of the master node of the cluster.
 * @property administratorAccount Admin credentials for master node of the cluster
 * @property sshPort Port open for ssh connections on the master node of the cluster.
 */
public data class HDInsightPropertiesArgs(
    public val address: Output? = null,
    public val administratorAccount: Output? = null,
    public val sshPort: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.machinelearningservices.inputs.HDInsightPropertiesArgs =
        com.pulumi.azurenative.machinelearningservices.inputs.HDInsightPropertiesArgs.builder()
            .address(address?.applyValue({ args0 -> args0 }))
            .administratorAccount(
                administratorAccount?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            )
            .sshPort(sshPort?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [HDInsightPropertiesArgs].
 */
@PulumiTagMarker
public class HDInsightPropertiesArgsBuilder internal constructor() {
    private var address: Output? = null

    private var administratorAccount: Output? = null

    private var sshPort: Output? = null

    /**
     * @param value Public IP address of the master node of the cluster.
     */
    @JvmName("rtsoogdfbckitopa")
    public suspend fun address(`value`: Output) {
        this.address = value
    }

    /**
     * @param value Admin credentials for master node of the cluster
     */
    @JvmName("mfvojoqxjhqxtpmp")
    public suspend fun administratorAccount(`value`: Output) {
        this.administratorAccount = value
    }

    /**
     * @param value Port open for ssh connections on the master node of the cluster.
     */
    @JvmName("uumybuutgseomxeu")
    public suspend fun sshPort(`value`: Output) {
        this.sshPort = value
    }

    /**
     * @param value Public IP address of the master node of the cluster.
     */
    @JvmName("rvoiflwcmaihqayq")
    public suspend fun address(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.address = mapped
    }

    /**
     * @param value Admin credentials for master node of the cluster
     */
    @JvmName("wnicelqtsixhnxaq")
    public suspend fun administratorAccount(`value`: VirtualMachineSshCredentialsArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.administratorAccount = mapped
    }

    /**
     * @param argument Admin credentials for master node of the cluster
     */
    @JvmName("obkpmeidxgmdaopx")
    public suspend fun administratorAccount(argument: suspend VirtualMachineSshCredentialsArgsBuilder.() -> Unit) {
        val toBeMapped = VirtualMachineSshCredentialsArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.administratorAccount = mapped
    }

    /**
     * @param value Port open for ssh connections on the master node of the cluster.
     */
    @JvmName("jurlhmpvwueohite")
    public suspend fun sshPort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.sshPort = mapped
    }

    internal fun build(): HDInsightPropertiesArgs = HDInsightPropertiesArgs(
        address = address,
        administratorAccount = administratorAccount,
        sshPort = sshPort,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy