com.pulumi.aws.devicefarm.kotlin.inputs.DevicePoolRuleArgs.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.devicefarm.kotlin.inputs
import com.pulumi.aws.devicefarm.inputs.DevicePoolRuleArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property attribute The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
* @property operator Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
* @property value The rule's value.
*/
public data class DevicePoolRuleArgs(
public val attribute: Output? = null,
public val `operator`: Output? = null,
public val `value`: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.devicefarm.inputs.DevicePoolRuleArgs =
com.pulumi.aws.devicefarm.inputs.DevicePoolRuleArgs.builder()
.attribute(attribute?.applyValue({ args0 -> args0 }))
.`operator`(`operator`?.applyValue({ args0 -> args0 }))
.`value`(`value`?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DevicePoolRuleArgs].
*/
@PulumiTagMarker
public class DevicePoolRuleArgsBuilder internal constructor() {
private var attribute: Output? = null
private var `operator`: Output? = null
private var `value`: Output? = null
/**
* @param value The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
*/
@JvmName("xkjwxrgyjoctkrxo")
public suspend fun attribute(`value`: Output) {
this.attribute = value
}
/**
* @param value Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
*/
@JvmName("bewrffukctybrelk")
public suspend fun `operator`(`value`: Output) {
this.`operator` = value
}
/**
* @param value The rule's value.
*/
@JvmName("wbuhwllgnetspdpj")
public suspend fun `value`(`value`: Output) {
this.`value` = value
}
/**
* @param value The rule's stringified attribute. Valid values are: `APPIUM_VERSION`, `ARN`, `AVAILABILITY`, `FLEET_TYPE`, `FORM_FACTOR`, `INSTANCE_ARN`, `INSTANCE_LABELS`, `MANUFACTURER`, `MODEL`, `OS_VERSION`, `PLATFORM`, `REMOTE_ACCESS_ENABLED`, `REMOTE_DEBUG_ENABLED`.
*/
@JvmName("debmstkelvydtufy")
public suspend fun attribute(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.attribute = mapped
}
/**
* @param value Specifies how Device Farm compares the rule's attribute to the value. For the operators that are supported by each attribute. Valid values are: `EQUALS`, `NOT_IN`, `IN`, `GREATER_THAN`, `GREATER_THAN_OR_EQUALS`, `LESS_THAN`, `LESS_THAN_OR_EQUALS`, `CONTAINS`.
*/
@JvmName("vrkhkfiepxasjdff")
public suspend fun `operator`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`operator` = mapped
}
/**
* @param value The rule's value.
*/
@JvmName("kebaniqpikbiyxpc")
public suspend fun `value`(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.`value` = mapped
}
internal fun build(): DevicePoolRuleArgs = DevicePoolRuleArgs(
attribute = attribute,
`operator` = `operator`,
`value` = `value`,
)
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy