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

com.pulumi.aws.macie2.kotlin.inputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.macie2.kotlin.inputs

import com.pulumi.aws.macie2.inputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 *
 * @property simpleCriterion A property-based condition that defines a property, operator, and one or more values for including or excluding an S3 buckets from the job. (documented below)
 * @property tagCriterion A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an S3 buckets from the job. (documented below)
 */
public data class ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs(
    public val simpleCriterion: Output? = null,
    public val tagCriterion: Output? = null,
) :
    ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.macie2.inputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs =
        com.pulumi.aws.macie2.inputs.ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs.builder()
            .simpleCriterion(simpleCriterion?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .tagCriterion(tagCriterion?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs].
 */
@PulumiTagMarker
public class ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgsBuilder internal constructor() {
    private var simpleCriterion:
        Output? = null

    private var tagCriterion:
        Output? = null

    /**
     * @param value A property-based condition that defines a property, operator, and one or more values for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("gteischouxahibly")
    public suspend fun simpleCriterion(`value`: Output) {
        this.simpleCriterion = value
    }

    /**
     * @param value A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("gyrhfrbqastuuhmc")
    public suspend fun tagCriterion(`value`: Output) {
        this.tagCriterion = value
    }

    /**
     * @param value A property-based condition that defines a property, operator, and one or more values for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("lvvbamlfanyvceoo")
    public suspend fun simpleCriterion(`value`: ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.simpleCriterion = mapped
    }

    /**
     * @param argument A property-based condition that defines a property, operator, and one or more values for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("bjybhxvofdkjxjuy")
    public suspend fun simpleCriterion(argument: suspend ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgsBuilder.() -> Unit) {
        val toBeMapped =
            ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndSimpleCriterionArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.simpleCriterion = mapped
    }

    /**
     * @param value A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("kaysftktilldhjhv")
    public suspend fun tagCriterion(`value`: ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndTagCriterionArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tagCriterion = mapped
    }

    /**
     * @param argument A tag-based condition that defines the operator and tag keys or tag key and value pairs for including or excluding an S3 buckets from the job. (documented below)
     */
    @JvmName("opnsmxscrjaniehb")
    public suspend fun tagCriterion(argument: suspend ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndTagCriterionArgsBuilder.() -> Unit) {
        val toBeMapped =
            ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndTagCriterionArgsBuilder().applySuspend {
                argument()
            }.build()
        val mapped = of(toBeMapped)
        this.tagCriterion = mapped
    }

    internal fun build(): ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs =
        ClassificationJobS3JobDefinitionBucketCriteriaIncludesAndArgs(
            simpleCriterion = simpleCriterion,
            tagCriterion = tagCriterion,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy