com.pulumi.aws.costexplorer.kotlin.inputs.AnomalySubscriptionThresholdExpressionArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.costexplorer.kotlin.inputs
import com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionArgs.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.collections.List
import kotlin.jvm.JvmName
/**
*
* @property ands Return results that match both Dimension objects.
* @property costCategory Configuration block for the filter that's based on values. See Cost Category below.
* @property dimension Configuration block for the specific Dimension to use for.
* @property not Return results that do not match the Dimension object.
* @property ors Return results that match either Dimension object.
* @property tags Configuration block for the specific Tag to use for. See Tags below.
*/
public data class AnomalySubscriptionThresholdExpressionArgs(
public val ands: Output>? = null,
public val costCategory: Output? = null,
public val dimension: Output? = null,
public val not: Output? = null,
public val ors: Output>? = null,
public val tags: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionArgs =
com.pulumi.aws.costexplorer.inputs.AnomalySubscriptionThresholdExpressionArgs.builder()
.ands(ands?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.costCategory(costCategory?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.dimension(dimension?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.not(not?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.ors(ors?.applyValue({ args0 -> args0.map({ args0 -> args0.let({ args0 -> args0.toJava() }) }) }))
.tags(tags?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [AnomalySubscriptionThresholdExpressionArgs].
*/
@PulumiTagMarker
public class AnomalySubscriptionThresholdExpressionArgsBuilder internal constructor() {
private var ands: Output>? = null
private var costCategory: Output? = null
private var dimension: Output? = null
private var not: Output? = null
private var ors: Output>? = null
private var tags: Output? = null
/**
* @param value Return results that match both Dimension objects.
*/
@JvmName("mfvcxqkeljstxbeu")
public suspend fun ands(`value`: Output>) {
this.ands = value
}
@JvmName("ycgtdcpagqnyrlog")
public suspend fun ands(vararg values: Output) {
this.ands = Output.all(values.asList())
}
/**
* @param values Return results that match both Dimension objects.
*/
@JvmName("rpugabywojwnqvfh")
public suspend fun ands(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy