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

com.pulumi.awsnative.securityhub.kotlin.outputs.ConfigurationPolicyParameterValue.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.securityhub.kotlin.outputs

import kotlin.Boolean
import kotlin.Double
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * An object that includes the data type of a security control parameter and its current value.
 * @property boolean A control parameter that is a boolean.
 * @property double A control parameter that is a double.
 * @property enum A control parameter that is an enum.
 * @property enumList A control parameter that is a list of enums.
 * @property integer A control parameter that is an integer.
 * @property integerList A control parameter that is a list of integers.
 * @property string A control parameter that is a string.
 * @property stringList A control parameter that is a list of strings.
 */
public data class ConfigurationPolicyParameterValue(
    public val boolean: Boolean? = null,
    public val double: Double? = null,
    public val `enum`: String? = null,
    public val enumList: List? = null,
    public val integer: Int? = null,
    public val integerList: List? = null,
    public val string: String? = null,
    public val stringList: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.securityhub.outputs.ConfigurationPolicyParameterValue): ConfigurationPolicyParameterValue = ConfigurationPolicyParameterValue(
            boolean = javaType.boolean_().map({ args0 -> args0 }).orElse(null),
            double = javaType.double_().map({ args0 -> args0 }).orElse(null),
            `enum` = javaType.enum_().map({ args0 -> args0 }).orElse(null),
            enumList = javaType.enumList().map({ args0 -> args0 }),
            integer = javaType.integer().map({ args0 -> args0 }).orElse(null),
            integerList = javaType.integerList().map({ args0 -> args0 }),
            string = javaType.string().map({ args0 -> args0 }).orElse(null),
            stringList = javaType.stringList().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy