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

com.pulumi.gcp.sql.kotlin.outputs.DatabaseInstanceIpAddress.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.sql.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property ipAddress The IPv4 address assigned.
 * @property timeToRetire The time this IP address will be retired, in RFC
 * 3339 format.
 * @property type The type of this IP address.
 */
public data class DatabaseInstanceIpAddress(
    public val ipAddress: String? = null,
    public val timeToRetire: String? = null,
    public val type: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.sql.outputs.DatabaseInstanceIpAddress): DatabaseInstanceIpAddress = DatabaseInstanceIpAddress(
            ipAddress = javaType.ipAddress().map({ args0 -> args0 }).orElse(null),
            timeToRetire = javaType.timeToRetire().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy