
com.pulumi.awsnative.systemsmanagersap.kotlin.inputs.ApplicationCredentialArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.systemsmanagersap.kotlin.inputs
import com.pulumi.awsnative.systemsmanagersap.inputs.ApplicationCredentialArgs.builder
import com.pulumi.awsnative.systemsmanagersap.kotlin.enums.ApplicationCredentialCredentialType
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property credentialType The type of the application credentials.
* @property databaseName The name of the SAP HANA database.
* @property secretId The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
*/
public data class ApplicationCredentialArgs(
public val credentialType: Output? = null,
public val databaseName: Output? = null,
public val secretId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.systemsmanagersap.inputs.ApplicationCredentialArgs =
com.pulumi.awsnative.systemsmanagersap.inputs.ApplicationCredentialArgs.builder()
.credentialType(credentialType?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.databaseName(databaseName?.applyValue({ args0 -> args0 }))
.secretId(secretId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [ApplicationCredentialArgs].
*/
@PulumiTagMarker
public class ApplicationCredentialArgsBuilder internal constructor() {
private var credentialType: Output? = null
private var databaseName: Output? = null
private var secretId: Output? = null
/**
* @param value The type of the application credentials.
*/
@JvmName("vccmqqowhhlhxpdq")
public suspend fun credentialType(`value`: Output) {
this.credentialType = value
}
/**
* @param value The name of the SAP HANA database.
*/
@JvmName("lmvpyqfyjfhxmenv")
public suspend fun databaseName(`value`: Output) {
this.databaseName = value
}
/**
* @param value The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
*/
@JvmName("ofsxtdhamahcjqhq")
public suspend fun secretId(`value`: Output) {
this.secretId = value
}
/**
* @param value The type of the application credentials.
*/
@JvmName("pqjtlufrdeggyvbx")
public suspend fun credentialType(`value`: ApplicationCredentialCredentialType?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.credentialType = mapped
}
/**
* @param value The name of the SAP HANA database.
*/
@JvmName("caqrspnhwpiwkihm")
public suspend fun databaseName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.databaseName = mapped
}
/**
* @param value The secret ID created in AWS Secrets Manager to store the credentials of the SAP application.
*/
@JvmName("gaqfjojmsblsbrrw")
public suspend fun secretId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.secretId = mapped
}
internal fun build(): ApplicationCredentialArgs = ApplicationCredentialArgs(
credentialType = credentialType,
databaseName = databaseName,
secretId = secretId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy