
com.pulumi.aws.dms.kotlin.inputs.GetCertificatePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.aws.dms.kotlin.inputs
import com.pulumi.aws.dms.inputs.GetCertificatePlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Pair
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Map
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getCertificate.
* @property certificateId A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
* @property tags
*/
public data class GetCertificatePlainArgs(
public val certificateId: String,
public val tags: Map? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.aws.dms.inputs.GetCertificatePlainArgs =
com.pulumi.aws.dms.inputs.GetCertificatePlainArgs.builder()
.certificateId(certificateId.let({ args0 -> args0 }))
.tags(tags?.let({ args0 -> args0.map({ args0 -> args0.key.to(args0.value) }).toMap() })).build()
}
/**
* Builder for [GetCertificatePlainArgs].
*/
@PulumiTagMarker
public class GetCertificatePlainArgsBuilder internal constructor() {
private var certificateId: String? = null
private var tags: Map? = null
/**
* @param value A customer-assigned name for the certificate. Identifiers must begin with a letter and must contain only ASCII letters, digits, and hyphens. They can't end with a hyphen or contain two consecutive hyphens.
*/
@JvmName("tixwihphcqfleaia")
public suspend fun certificateId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.certificateId = mapped
}
/**
* @param value
*/
@JvmName("oivsrkiahldirviu")
public suspend fun tags(`value`: Map?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.tags = mapped
}
/**
* @param values
*/
@JvmName("oqwbfnkmcnhbuyqk")
public fun tags(vararg values: Pair) {
val toBeMapped = values.toMap()
val mapped = toBeMapped.let({ args0 -> args0 })
this.tags = mapped
}
internal fun build(): GetCertificatePlainArgs = GetCertificatePlainArgs(
certificateId = certificateId ?: throw PulumiNullFieldException("certificateId"),
tags = tags,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy