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

com.pulumi.cloudflare.kotlin.inputs.DevicePostureRuleInputLocationArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.cloudflare.kotlin.inputs

import com.pulumi.cloudflare.inputs.DevicePostureRuleInputLocationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property paths List of paths to check for client certificate rule.
 * @property trustStores List of trust stores to check for client certificate rule. Available values: `system`, `user`.
 */
public data class DevicePostureRuleInputLocationArgs(
    public val paths: Output>? = null,
    public val trustStores: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.cloudflare.inputs.DevicePostureRuleInputLocationArgs =
        com.pulumi.cloudflare.inputs.DevicePostureRuleInputLocationArgs.builder()
            .paths(paths?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .trustStores(trustStores?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

/**
 * Builder for [DevicePostureRuleInputLocationArgs].
 */
@PulumiTagMarker
public class DevicePostureRuleInputLocationArgsBuilder internal constructor() {
    private var paths: Output>? = null

    private var trustStores: Output>? = null

    /**
     * @param value List of paths to check for client certificate rule.
     */
    @JvmName("gtqxopiktamnqxta")
    public suspend fun paths(`value`: Output>) {
        this.paths = value
    }

    @JvmName("qwqsexbmhdhtsove")
    public suspend fun paths(vararg values: Output) {
        this.paths = Output.all(values.asList())
    }

    /**
     * @param values List of paths to check for client certificate rule.
     */
    @JvmName("wrhvmuqmqptjkgha")
    public suspend fun paths(values: List>) {
        this.paths = Output.all(values)
    }

    /**
     * @param value List of trust stores to check for client certificate rule. Available values: `system`, `user`.
     */
    @JvmName("ljxytnxbtateyfpy")
    public suspend fun trustStores(`value`: Output>) {
        this.trustStores = value
    }

    @JvmName("cldiuqsgalvvtppo")
    public suspend fun trustStores(vararg values: Output) {
        this.trustStores = Output.all(values.asList())
    }

    /**
     * @param values List of trust stores to check for client certificate rule. Available values: `system`, `user`.
     */
    @JvmName("yipkwaulwvfdiida")
    public suspend fun trustStores(values: List>) {
        this.trustStores = Output.all(values)
    }

    /**
     * @param value List of paths to check for client certificate rule.
     */
    @JvmName("kapreowvesyqsdwa")
    public suspend fun paths(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.paths = mapped
    }

    /**
     * @param values List of paths to check for client certificate rule.
     */
    @JvmName("jhdartidlxgdhxak")
    public suspend fun paths(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.paths = mapped
    }

    /**
     * @param value List of trust stores to check for client certificate rule. Available values: `system`, `user`.
     */
    @JvmName("vwnprtexahtwjkdk")
    public suspend fun trustStores(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.trustStores = mapped
    }

    /**
     * @param values List of trust stores to check for client certificate rule. Available values: `system`, `user`.
     */
    @JvmName("ydwkmqkdvqsuulaw")
    public suspend fun trustStores(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.trustStores = mapped
    }

    internal fun build(): DevicePostureRuleInputLocationArgs = DevicePostureRuleInputLocationArgs(
        paths = paths,
        trustStores = trustStores,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy