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

com.pulumi.awsnative.rds.kotlin.inputs.GetDbParameterGroupPlainArgs.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.rds.kotlin.inputs

import com.pulumi.awsnative.rds.inputs.GetDbParameterGroupPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property dbParameterGroupName The name of the DB parameter group.
 *  Constraints:
 *   +  Must be 1 to 255 letters, numbers, or hyphens.
 *   +  First character must be a letter
 *   +  Can't end with a hyphen or contain two consecutive hyphens
 *  If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group.
 *   This value is stored as a lowercase string.
 */
public data class GetDbParameterGroupPlainArgs(
    public val dbParameterGroupName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.rds.inputs.GetDbParameterGroupPlainArgs =
        com.pulumi.awsnative.rds.inputs.GetDbParameterGroupPlainArgs.builder()
            .dbParameterGroupName(dbParameterGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDbParameterGroupPlainArgs].
 */
@PulumiTagMarker
public class GetDbParameterGroupPlainArgsBuilder internal constructor() {
    private var dbParameterGroupName: String? = null

    /**
     * @param value The name of the DB parameter group.
     *  Constraints:
     *   +  Must be 1 to 255 letters, numbers, or hyphens.
     *   +  First character must be a letter
     *   +  Can't end with a hyphen or contain two consecutive hyphens
     *  If you don't specify a value for ``DBParameterGroupName`` property, a name is automatically created for the DB parameter group.
     *   This value is stored as a lowercase string.
     */
    @JvmName("upbqfasfwmwvmbyj")
    public suspend fun dbParameterGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dbParameterGroupName = mapped
    }

    internal fun build(): GetDbParameterGroupPlainArgs = GetDbParameterGroupPlainArgs(
        dbParameterGroupName = dbParameterGroupName ?: throw
            PulumiNullFieldException("dbParameterGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy