com.pulumi.awsnative.devopsguru.kotlin.outputs.GetResourceCollectionResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-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.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.devopsguru.kotlin.outputs
import com.pulumi.awsnative.devopsguru.kotlin.enums.ResourceCollectionType
import kotlin.Suppress
/**
*
* @property resourceCollectionFilter Information about a filter used to specify which AWS resources are analyzed for anomalous behavior by DevOps Guru.
* @property resourceCollectionType The type of ResourceCollection
*/
public data class GetResourceCollectionResult(
public val resourceCollectionFilter: ResourceCollectionFilter? = null,
public val resourceCollectionType: ResourceCollectionType? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.devopsguru.outputs.GetResourceCollectionResult): GetResourceCollectionResult = GetResourceCollectionResult(
resourceCollectionFilter = javaType.resourceCollectionFilter().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.devopsguru.kotlin.outputs.ResourceCollectionFilter.Companion.toKotlin(args0)
})
}).orElse(null),
resourceCollectionType = javaType.resourceCollectionType().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.devopsguru.kotlin.enums.ResourceCollectionType.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}