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

com.pulumi.awsnative.rds.kotlin.outputs.DbInstanceProcessorFeature.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.rds.kotlin.outputs

import com.pulumi.awsnative.rds.kotlin.enums.DbInstanceProcessorFeatureName
import kotlin.String
import kotlin.Suppress

/**
 * The ``ProcessorFeature`` property type specifies the processor features of a DB instance class.
 * @property name The name of the processor feature. Valid names are ``coreCount`` and ``threadsPerCore``.
 * @property value The value of a processor feature.
 */
public data class DbInstanceProcessorFeature(
    public val name: DbInstanceProcessorFeatureName? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.rds.outputs.DbInstanceProcessorFeature): DbInstanceProcessorFeature = DbInstanceProcessorFeature(
            name = javaType.name().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.rds.kotlin.enums.DbInstanceProcessorFeatureName.Companion.toKotlin(args0)
                })
            }).orElse(null),
            `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy