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

com.pulumi.awsnative.systemsmanagersap.kotlin.outputs.ApplicationCredential.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.systemsmanagersap.kotlin.outputs

import com.pulumi.awsnative.systemsmanagersap.kotlin.enums.ApplicationCredentialCredentialType
import kotlin.String
import kotlin.Suppress

/**
 *
 * @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 ApplicationCredential(
    public val credentialType: ApplicationCredentialCredentialType? = null,
    public val databaseName: String? = null,
    public val secretId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.systemsmanagersap.outputs.ApplicationCredential): ApplicationCredential = ApplicationCredential(
            credentialType = javaType.credentialType().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.systemsmanagersap.kotlin.enums.ApplicationCredentialCredentialType.Companion.toKotlin(args0)
                })
            }).orElse(null),
            databaseName = javaType.databaseName().map({ args0 -> args0 }).orElse(null),
            secretId = javaType.secretId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy