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

com.pulumi.awsnative.datasync.kotlin.inputs.StorageSystemServerConfigurationArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datasync.kotlin.inputs

import com.pulumi.awsnative.datasync.inputs.StorageSystemServerConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * The server name and network port required to connect with the management interface of the on-premises storage system.
 * @property serverHostname The domain name or IP address of the storage system's management interface.
 * @property serverPort The network port needed to access the system's management interface
 */
public data class StorageSystemServerConfigurationArgs(
    public val serverHostname: Output,
    public val serverPort: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.datasync.inputs.StorageSystemServerConfigurationArgs =
        com.pulumi.awsnative.datasync.inputs.StorageSystemServerConfigurationArgs.builder()
            .serverHostname(serverHostname.applyValue({ args0 -> args0 }))
            .serverPort(serverPort?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StorageSystemServerConfigurationArgs].
 */
@PulumiTagMarker
public class StorageSystemServerConfigurationArgsBuilder internal constructor() {
    private var serverHostname: Output? = null

    private var serverPort: Output? = null

    /**
     * @param value The domain name or IP address of the storage system's management interface.
     */
    @JvmName("pdsvcbhoicslawhh")
    public suspend fun serverHostname(`value`: Output) {
        this.serverHostname = value
    }

    /**
     * @param value The network port needed to access the system's management interface
     */
    @JvmName("baudcrrdquiosgqc")
    public suspend fun serverPort(`value`: Output) {
        this.serverPort = value
    }

    /**
     * @param value The domain name or IP address of the storage system's management interface.
     */
    @JvmName("liugciriovuuckgi")
    public suspend fun serverHostname(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.serverHostname = mapped
    }

    /**
     * @param value The network port needed to access the system's management interface
     */
    @JvmName("hansxwasiwwhnjih")
    public suspend fun serverPort(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serverPort = mapped
    }

    internal fun build(): StorageSystemServerConfigurationArgs = StorageSystemServerConfigurationArgs(
        serverHostname = serverHostname ?: throw PulumiNullFieldException("serverHostname"),
        serverPort = serverPort,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy