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

com.pulumi.awsnative.lightsail.kotlin.outputs.DatabaseRelationalDatabaseParameter.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.lightsail.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * Describes the parameters of the database.
 * @property allowedValues Specifies the valid range of values for the parameter.
 * @property applyMethod Indicates when parameter updates are applied. Can be immediate or pending-reboot.
 * @property applyType Specifies the engine-specific parameter type.
 * @property dataType Specifies the valid data type for the parameter.
 * @property description Provides a description of the parameter.
 * @property isModifiable A Boolean value indicating whether the parameter can be modified.
 * @property parameterName Specifies the name of the parameter.
 * @property parameterValue Specifies the value of the parameter.
 */
public data class DatabaseRelationalDatabaseParameter(
    public val allowedValues: String? = null,
    public val applyMethod: String? = null,
    public val applyType: String? = null,
    public val dataType: String? = null,
    public val description: String? = null,
    public val isModifiable: Boolean? = null,
    public val parameterName: String? = null,
    public val parameterValue: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.lightsail.outputs.DatabaseRelationalDatabaseParameter): DatabaseRelationalDatabaseParameter = DatabaseRelationalDatabaseParameter(
            allowedValues = javaType.allowedValues().map({ args0 -> args0 }).orElse(null),
            applyMethod = javaType.applyMethod().map({ args0 -> args0 }).orElse(null),
            applyType = javaType.applyType().map({ args0 -> args0 }).orElse(null),
            dataType = javaType.dataType().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            isModifiable = javaType.isModifiable().map({ args0 -> args0 }).orElse(null),
            parameterName = javaType.parameterName().map({ args0 -> args0 }).orElse(null),
            parameterValue = javaType.parameterValue().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy