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

com.pulumi.awsnative.devopsguru.kotlin.ResourceCollectionArgs.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: 0.122.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.devopsguru.kotlin

import com.pulumi.awsnative.devopsguru.ResourceCollectionArgs.builder
import com.pulumi.awsnative.devopsguru.kotlin.inputs.ResourceCollectionFilterArgs
import com.pulumi.awsnative.devopsguru.kotlin.inputs.ResourceCollectionFilterArgsBuilder
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

/**
 * This resource schema represents the ResourceCollection resource in the Amazon DevOps Guru.
 * ## Example Usage
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * ### Example
 * No Java example available.
 * @property resourceCollectionFilter Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
 */
public data class ResourceCollectionArgs(
    public val resourceCollectionFilter: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.devopsguru.ResourceCollectionArgs =
        com.pulumi.awsnative.devopsguru.ResourceCollectionArgs.builder()
            .resourceCollectionFilter(
                resourceCollectionFilter?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

/**
 * Builder for [ResourceCollectionArgs].
 */
@PulumiTagMarker
public class ResourceCollectionArgsBuilder internal constructor() {
    private var resourceCollectionFilter: Output? = null

    /**
     * @param value Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
     */
    @JvmName("rjbtwebsxawqipme")
    public suspend fun resourceCollectionFilter(`value`: Output) {
        this.resourceCollectionFilter = value
    }

    /**
     * @param value Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
     */
    @JvmName("kwtbbklqfrsdivgk")
    public suspend fun resourceCollectionFilter(`value`: ResourceCollectionFilterArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.resourceCollectionFilter = mapped
    }

    /**
     * @param argument Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
     */
    @JvmName("picueqimcgvtoxwq")
    public suspend fun resourceCollectionFilter(argument: suspend ResourceCollectionFilterArgsBuilder.() -> Unit) {
        val toBeMapped = ResourceCollectionFilterArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.resourceCollectionFilter = mapped
    }

    internal fun build(): ResourceCollectionArgs = ResourceCollectionArgs(
        resourceCollectionFilter = resourceCollectionFilter,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy