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

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

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

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

import com.pulumi.awsnative.rds.inputs.GetDbClusterPlainArgs.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 dbClusterIdentifier The DB cluster identifier. This parameter is stored as a lowercase string.
 *  Constraints:
 *   +  Must contain from 1 to 63 letters, numbers, or hyphens.
 *   +  First character must be a letter.
 *   +  Can't end with a hyphen or contain two consecutive hyphens.
 *  Example: ``my-cluster1``
 *  Valid for: Aurora DB clusters and Multi-AZ DB clusters
 */
public data class GetDbClusterPlainArgs(
    public val dbClusterIdentifier: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.rds.inputs.GetDbClusterPlainArgs =
        com.pulumi.awsnative.rds.inputs.GetDbClusterPlainArgs.builder()
            .dbClusterIdentifier(dbClusterIdentifier.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetDbClusterPlainArgs].
 */
@PulumiTagMarker
public class GetDbClusterPlainArgsBuilder internal constructor() {
    private var dbClusterIdentifier: String? = null

    /**
     * @param value The DB cluster identifier. This parameter is stored as a lowercase string.
     *  Constraints:
     *   +  Must contain from 1 to 63 letters, numbers, or hyphens.
     *   +  First character must be a letter.
     *   +  Can't end with a hyphen or contain two consecutive hyphens.
     *  Example: ``my-cluster1``
     *  Valid for: Aurora DB clusters and Multi-AZ DB clusters
     */
    @JvmName("vnkudfggmxxmolxh")
    public suspend fun dbClusterIdentifier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.dbClusterIdentifier = mapped
    }

    internal fun build(): GetDbClusterPlainArgs = GetDbClusterPlainArgs(
        dbClusterIdentifier = dbClusterIdentifier ?: throw PulumiNullFieldException("dbClusterIdentifier"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy