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

com.pulumi.awsnative.rds.kotlin.inputs.GetDbSubnetGroupPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.rds.kotlin.inputs

import com.pulumi.awsnative.rds.inputs.GetDbSubnetGroupPlainArgs.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 dbSubnetGroupName The name for the DB subnet group. This value is stored as a lowercase string.
 *  Constraints:
 *   +  Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.
 *   +  Must not be default.
 *   +  First character must be a letter.
 *  Example: ``mydbsubnetgroup``
 */
public data class GetDbSubnetGroupPlainArgs(
    public val dbSubnetGroupName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.rds.inputs.GetDbSubnetGroupPlainArgs =
        com.pulumi.awsnative.rds.inputs.GetDbSubnetGroupPlainArgs.builder()
            .dbSubnetGroupName(dbSubnetGroupName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDbSubnetGroupPlainArgs].
 */
@PulumiTagMarker
public class GetDbSubnetGroupPlainArgsBuilder internal constructor() {
    private var dbSubnetGroupName: String? = null

    /**
     * @param value The name for the DB subnet group. This value is stored as a lowercase string.
     *  Constraints:
     *   +  Must contain no more than 255 letters, numbers, periods, underscores, spaces, or hyphens.
     *   +  Must not be default.
     *   +  First character must be a letter.
     *  Example: ``mydbsubnetgroup``
     */
    @JvmName("whokknemywyshulq")
    public suspend fun dbSubnetGroupName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dbSubnetGroupName = mapped
    }

    internal fun build(): GetDbSubnetGroupPlainArgs = GetDbSubnetGroupPlainArgs(
        dbSubnetGroupName = dbSubnetGroupName ?: throw PulumiNullFieldException("dbSubnetGroupName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy