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

com.pulumi.awsnative.wafv2.kotlin.enums.IpSetIpAddressVersion.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.wafv2.kotlin.enums

import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress

/**
 * Type of addresses in the IPSet, use IPV4 for IPV4 IP addresses, IPV6 for IPV6 address.
 */
public enum class IpSetIpAddressVersion(
    public val javaValue: com.pulumi.awsnative.wafv2.enums.IpSetIpAddressVersion,
) : ConvertibleToJava {
    Ipv4(com.pulumi.awsnative.wafv2.enums.IpSetIpAddressVersion.Ipv4),
    Ipv6(com.pulumi.awsnative.wafv2.enums.IpSetIpAddressVersion.Ipv6),
    ;

    override fun toJava(): com.pulumi.awsnative.wafv2.enums.IpSetIpAddressVersion = javaValue

    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.wafv2.enums.IpSetIpAddressVersion): IpSetIpAddressVersion = IpSetIpAddressVersion.values().first { it.javaValue == javaType }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy