com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.WebhookPatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-kubernetes-kotlin Show documentation
Show all versions of pulumi-kubernetes-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs
import kotlin.Suppress
/**
* Webhook holds the configuration of the webhook
* @property clientConfig ClientConfig holds the connection parameters for the webhook required
* @property throttle Throttle holds the options for throttling the webhook
*/
public data class WebhookPatch(
public val clientConfig: WebhookClientConfigPatch? = null,
public val throttle: WebhookThrottleConfigPatch? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.kubernetes.auditregistration.v1alpha1.outputs.WebhookPatch): WebhookPatch = WebhookPatch(
clientConfig = javaType.clientConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.WebhookClientConfigPatch.Companion.toKotlin(args0)
})
}).orElse(null),
throttle = javaType.throttle().map({ args0 ->
args0.let({ args0 ->
com.pulumi.kubernetes.auditregistration.v1alpha1.kotlin.outputs.WebhookThrottleConfigPatch.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy