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

com.pulumi.awsnative.iam.kotlin.inputs.GetServerCertificatePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.iam.kotlin.inputs

import com.pulumi.awsnative.iam.inputs.GetServerCertificatePlainArgs.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 serverCertificateName The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces.
 * This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
 */
public data class GetServerCertificatePlainArgs(
    public val serverCertificateName: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.iam.inputs.GetServerCertificatePlainArgs =
        com.pulumi.awsnative.iam.inputs.GetServerCertificatePlainArgs.builder()
            .serverCertificateName(serverCertificateName.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetServerCertificatePlainArgs].
 */
@PulumiTagMarker
public class GetServerCertificatePlainArgsBuilder internal constructor() {
    private var serverCertificateName: String? = null

    /**
     * @param value The name for the server certificate. Do not include the path in this value. The name of the certificate cannot contain any spaces.
     * This parameter allows (through its [regex pattern](https://docs.aws.amazon.com/http://wikipedia.org/wiki/regex) ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
     */
    @JvmName("jnyyqlnwwpjdejom")
    public suspend fun serverCertificateName(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.serverCertificateName = mapped
    }

    internal fun build(): GetServerCertificatePlainArgs = GetServerCertificatePlainArgs(
        serverCertificateName = serverCertificateName ?: throw
            PulumiNullFieldException("serverCertificateName"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy