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

com.pulumi.azurenative.storage.kotlin.inputs.ExecutionTargetArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.storage.kotlin.inputs

import com.pulumi.azurenative.storage.inputs.ExecutionTargetArgs.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

/**
 * Target helps provide filter parameters for the objects in the storage account and forms the execution context for the storage task
 * @property excludePrefix List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
 * @property prefix Required list of object prefixes to be included for task execution
 */
public data class ExecutionTargetArgs(
    public val excludePrefix: Output>? = null,
    public val prefix: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.storage.inputs.ExecutionTargetArgs =
        com.pulumi.azurenative.storage.inputs.ExecutionTargetArgs.builder()
            .excludePrefix(excludePrefix?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .prefix(prefix?.applyValue({ args0 -> args0.map({ args0 -> args0 }) })).build()
}

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

    private var prefix: Output>? = null

    /**
     * @param value List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     */
    @JvmName("ybwhetydmchkuqqx")
    public suspend fun excludePrefix(`value`: Output>) {
        this.excludePrefix = value
    }

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

    /**
     * @param values List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     */
    @JvmName("cqcvujipysbifsip")
    public suspend fun excludePrefix(values: List>) {
        this.excludePrefix = Output.all(values)
    }

    /**
     * @param value Required list of object prefixes to be included for task execution
     */
    @JvmName("dtcqekigyfosncds")
    public suspend fun prefix(`value`: Output>) {
        this.prefix = value
    }

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

    /**
     * @param values Required list of object prefixes to be included for task execution
     */
    @JvmName("jqrxhwrspbdrraal")
    public suspend fun prefix(values: List>) {
        this.prefix = Output.all(values)
    }

    /**
     * @param value List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     */
    @JvmName("smxrtbfxkajldjye")
    public suspend fun excludePrefix(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.excludePrefix = mapped
    }

    /**
     * @param values List of object prefixes to be excluded from task execution. If there is a conflict between include and exclude prefixes, the exclude prefix will be the determining factor
     */
    @JvmName("eyteyewrokilkqqu")
    public suspend fun excludePrefix(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.excludePrefix = mapped
    }

    /**
     * @param value Required list of object prefixes to be included for task execution
     */
    @JvmName("pndbetgxwylcsuaj")
    public suspend fun prefix(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    /**
     * @param values Required list of object prefixes to be included for task execution
     */
    @JvmName("lwoafredovabmmqk")
    public suspend fun prefix(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.prefix = mapped
    }

    internal fun build(): ExecutionTargetArgs = ExecutionTargetArgs(
        excludePrefix = excludePrefix,
        prefix = prefix,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy