
com.pulumi.awsnative.rds.kotlin.outputs.DbInstanceProcessorFeature.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.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