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

com.pulumi.gcp.oracledatabase.kotlin.outputs.AutonomousDatabasePropertiesConnectionStringProfile.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.oracledatabase.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property consumerGroup The current consumer group being used by the connection.
 *  Possible values:
 *  CONSUMER_GROUP_UNSPECIFIED
 * HIGH
 * MEDIUM
 * LOW
 * TP
 * TPURGENT
 * @property displayName The display name for the database connection.
 * @property hostFormat The host name format being currently used in connection string.
 *  Possible values:
 *  HOST_FORMAT_UNSPECIFIED
 * FQDN
 * IP
 * @property isRegional This field indicates if the connection string is regional and is only
 * applicable for cross-region Data Guard.
 * @property protocol The protocol being used by the connection.
 *  Possible values:
 *  PROTOCOL_UNSPECIFIED
 * TCP
 * TCPS
 * @property sessionMode The current session mode of the connection.
 *  Possible values:
 *  SESSION_MODE_UNSPECIFIED
 * DIRECT
 * INDIRECT
 * @property syntaxFormat The syntax of the connection string.
 *  Possible values:
 *  SYNTAX_FORMAT_UNSPECIFIED
 * LONG
 * EZCONNECT
 * EZCONNECTPLUS
 * @property tlsAuthentication This field indicates the TLS authentication type of the connection.
 *  Possible values:
 *  TLS_AUTHENTICATION_UNSPECIFIED
 * SERVER
 * MUTUAL
 * @property value The value of the connection string.
 */
public data class AutonomousDatabasePropertiesConnectionStringProfile(
    public val consumerGroup: String? = null,
    public val displayName: String? = null,
    public val hostFormat: String? = null,
    public val isRegional: Boolean? = null,
    public val protocol: String? = null,
    public val sessionMode: String? = null,
    public val syntaxFormat: String? = null,
    public val tlsAuthentication: String? = null,
    public val `value`: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.oracledatabase.outputs.AutonomousDatabasePropertiesConnectionStringProfile): AutonomousDatabasePropertiesConnectionStringProfile =
            AutonomousDatabasePropertiesConnectionStringProfile(
                consumerGroup = javaType.consumerGroup().map({ args0 -> args0 }).orElse(null),
                displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
                hostFormat = javaType.hostFormat().map({ args0 -> args0 }).orElse(null),
                isRegional = javaType.isRegional().map({ args0 -> args0 }).orElse(null),
                protocol = javaType.protocol().map({ args0 -> args0 }).orElse(null),
                sessionMode = javaType.sessionMode().map({ args0 -> args0 }).orElse(null),
                syntaxFormat = javaType.syntaxFormat().map({ args0 -> args0 }).orElse(null),
                tlsAuthentication = javaType.tlsAuthentication().map({ args0 -> args0 }).orElse(null),
                `value` = javaType.`value`().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy