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

com.pulumi.digitalocean.kotlin.inputs.GetReservedIpPlainArgs.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: 4.38.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.digitalocean.kotlin.inputs

import com.pulumi.digitalocean.inputs.GetReservedIpPlainArgs.builder
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

/**
 * A collection of arguments for invoking getReservedIp.
 * @property ipAddress The allocated IP address of the specific reserved IP to retrieve.
 */
public data class GetReservedIpPlainArgs(
    public val ipAddress: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.digitalocean.inputs.GetReservedIpPlainArgs =
        com.pulumi.digitalocean.inputs.GetReservedIpPlainArgs.builder()
            .ipAddress(ipAddress.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetReservedIpPlainArgs].
 */
@PulumiTagMarker
public class GetReservedIpPlainArgsBuilder internal constructor() {
    private var ipAddress: String? = null

    /**
     * @param value The allocated IP address of the specific reserved IP to retrieve.
     */
    @JvmName("agonrypjjfutdreo")
    public suspend fun ipAddress(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.ipAddress = mapped
    }

    internal fun build(): GetReservedIpPlainArgs = GetReservedIpPlainArgs(
        ipAddress = ipAddress ?: throw PulumiNullFieldException("ipAddress"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy