
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentPredicate.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.amplifyuibuilder.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property and A list of predicates to combine logically.
* @property field The field to query.
* @property operand The value to use when performing the evaluation.
* @property operandType The type of value to use when performing the evaluation.
* @property operator The operator to use to perform the evaluation.
* @property or A list of predicates to combine logically.
*/
public data class ComponentPredicate(
public val and: List? = null,
public val `field`: String? = null,
public val operand: String? = null,
public val operandType: String? = null,
public val `operator`: String? = null,
public val or: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.amplifyuibuilder.outputs.ComponentPredicate): ComponentPredicate = ComponentPredicate(
and = javaType.and().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentPredicate.Companion.toKotlin(args0)
})
}),
`field` = javaType.`field`().map({ args0 -> args0 }).orElse(null),
operand = javaType.operand().map({ args0 -> args0 }).orElse(null),
operandType = javaType.operandType().map({ args0 -> args0 }).orElse(null),
`operator` = javaType.`operator`().map({ args0 -> args0 }).orElse(null),
or = javaType.or().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.amplifyuibuilder.kotlin.outputs.ComponentPredicate.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy