com.pulumi.googlenative.compute.v1.kotlin.enums.ServiceAttachmentConnectionPreference.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.compute.v1.kotlin.enums
import com.pulumi.kotlin.ConvertibleToJava
import kotlin.Suppress
/**
* The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules.
*/
public enum class ServiceAttachmentConnectionPreference(
public val javaValue: com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference,
) :
ConvertibleToJava {
AcceptAutomatic(com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference.AcceptAutomatic),
AcceptManual(com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference.AcceptManual),
ConnectionPreferenceUnspecified(com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference.ConnectionPreferenceUnspecified),
;
override fun toJava(): com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference = javaValue
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.compute.v1.enums.ServiceAttachmentConnectionPreference): ServiceAttachmentConnectionPreference =
ServiceAttachmentConnectionPreference.values().first { it.javaValue == javaType }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy