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

com.pulumi.azure.nginx.kotlin.inputs.DeploymentFrontendPrivateArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.nginx.kotlin.inputs

import com.pulumi.azure.nginx.inputs.DeploymentFrontendPrivateArgs.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.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property allocationMethod Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
 * @property ipAddress Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
 * @property subnetId Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
 */
public data class DeploymentFrontendPrivateArgs(
    public val allocationMethod: Output,
    public val ipAddress: Output,
    public val subnetId: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.nginx.inputs.DeploymentFrontendPrivateArgs =
        com.pulumi.azure.nginx.inputs.DeploymentFrontendPrivateArgs.builder()
            .allocationMethod(allocationMethod.applyValue({ args0 -> args0 }))
            .ipAddress(ipAddress.applyValue({ args0 -> args0 }))
            .subnetId(subnetId.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DeploymentFrontendPrivateArgs].
 */
@PulumiTagMarker
public class DeploymentFrontendPrivateArgsBuilder internal constructor() {
    private var allocationMethod: Output? = null

    private var ipAddress: Output? = null

    private var subnetId: Output? = null

    /**
     * @param value Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("efsnftprptbvbwks")
    public suspend fun allocationMethod(`value`: Output) {
        this.allocationMethod = value
    }

    /**
     * @param value Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("dnyrpstrhfhxplsw")
    public suspend fun ipAddress(`value`: Output) {
        this.ipAddress = value
    }

    /**
     * @param value Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("frpnkveglvwnhvds")
    public suspend fun subnetId(`value`: Output) {
        this.subnetId = value
    }

    /**
     * @param value Specify the method for allocating the private IP. Possible values are `Static` and `Dynamic`. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("tkpxprbjwxgnxgtc")
    public suspend fun allocationMethod(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.allocationMethod = mapped
    }

    /**
     * @param value Specify the private IP Address. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("vqwajherjflnngrx")
    public suspend fun ipAddress(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.ipAddress = mapped
    }

    /**
     * @param value Specify the Subnet Resource ID for this NGINX Deployment. Changing this forces a new NGINX Deployment to be created.
     */
    @JvmName("qegihorvyaqfknbf")
    public suspend fun subnetId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.subnetId = mapped
    }

    internal fun build(): DeploymentFrontendPrivateArgs = DeploymentFrontendPrivateArgs(
        allocationMethod = allocationMethod ?: throw PulumiNullFieldException("allocationMethod"),
        ipAddress = ipAddress ?: throw PulumiNullFieldException("ipAddress"),
        subnetId = subnetId ?: throw PulumiNullFieldException("subnetId"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy