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

commonMain.aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey.kt Maven / Gradle / Ivy

// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.glue.model

import kotlin.collections.List

public sealed class ConnectionPropertyKey {
    public abstract val value: kotlin.String

    public object ClusterIdentifier : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CLUSTER_IDENTIFIER"
        override fun toString(): kotlin.String = "ClusterIdentifier"
    }

    public object ConfigFiles : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CONFIG_FILES"
        override fun toString(): kotlin.String = "ConfigFiles"
    }

    public object ConnectionUrl : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CONNECTION_URL"
        override fun toString(): kotlin.String = "ConnectionUrl"
    }

    public object ConnectorClassName : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CONNECTOR_CLASS_NAME"
        override fun toString(): kotlin.String = "ConnectorClassName"
    }

    public object ConnectorType : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CONNECTOR_TYPE"
        override fun toString(): kotlin.String = "ConnectorType"
    }

    public object ConnectorUrl : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CONNECTOR_URL"
        override fun toString(): kotlin.String = "ConnectorUrl"
    }

    public object CustomJdbcCert : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CUSTOM_JDBC_CERT"
        override fun toString(): kotlin.String = "CustomJdbcCert"
    }

    public object CustomJdbcCertString : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "CUSTOM_JDBC_CERT_STRING"
        override fun toString(): kotlin.String = "CustomJdbcCertString"
    }

    public object Database : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "DATABASE"
        override fun toString(): kotlin.String = "Database"
    }

    public object EncryptedKafkaClientKeystorePassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD"
        override fun toString(): kotlin.String = "EncryptedKafkaClientKeystorePassword"
    }

    public object EncryptedKafkaClientKeyPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD"
        override fun toString(): kotlin.String = "EncryptedKafkaClientKeyPassword"
    }

    public object EncryptedKafkaSaslPlainPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD"
        override fun toString(): kotlin.String = "EncryptedKafkaSaslPlainPassword"
    }

    public object EncryptedKafkaSaslScramPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD"
        override fun toString(): kotlin.String = "EncryptedKafkaSaslScramPassword"
    }

    public object EncryptedPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ENCRYPTED_PASSWORD"
        override fun toString(): kotlin.String = "EncryptedPassword"
    }

    public object Host : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "HOST"
        override fun toString(): kotlin.String = "Host"
    }

    public object InstanceId : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "INSTANCE_ID"
        override fun toString(): kotlin.String = "InstanceId"
    }

    public object JdbcConnectionUrl : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_CONNECTION_URL"
        override fun toString(): kotlin.String = "JdbcConnectionUrl"
    }

    public object JdbcDriverClassName : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_DRIVER_CLASS_NAME"
        override fun toString(): kotlin.String = "JdbcDriverClassName"
    }

    public object JdbcDriverJarUri : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_DRIVER_JAR_URI"
        override fun toString(): kotlin.String = "JdbcDriverJarUri"
    }

    public object JdbcEnforceSsl : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_ENFORCE_SSL"
        override fun toString(): kotlin.String = "JdbcEnforceSsl"
    }

    public object JdbcEngine : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_ENGINE"
        override fun toString(): kotlin.String = "JdbcEngine"
    }

    public object JdbcEngineVersion : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "JDBC_ENGINE_VERSION"
        override fun toString(): kotlin.String = "JdbcEngineVersion"
    }

    public object KafkaBootstrapServers : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_BOOTSTRAP_SERVERS"
        override fun toString(): kotlin.String = "KafkaBootstrapServers"
    }

    public object KafkaClientKeystore : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_CLIENT_KEYSTORE"
        override fun toString(): kotlin.String = "KafkaClientKeystore"
    }

    public object KafkaClientKeystorePassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_CLIENT_KEYSTORE_PASSWORD"
        override fun toString(): kotlin.String = "KafkaClientKeystorePassword"
    }

    public object KafkaClientKeyPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_CLIENT_KEY_PASSWORD"
        override fun toString(): kotlin.String = "KafkaClientKeyPassword"
    }

    public object KafkaCustomCert : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_CUSTOM_CERT"
        override fun toString(): kotlin.String = "KafkaCustomCert"
    }

    public object KafkaSaslGssapiKeytab : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_GSSAPI_KEYTAB"
        override fun toString(): kotlin.String = "KafkaSaslGssapiKeytab"
    }

    public object KafkaSaslGssapiKrb5Conf : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_GSSAPI_KRB5_CONF"
        override fun toString(): kotlin.String = "KafkaSaslGssapiKrb5Conf"
    }

    public object KafkaSaslGssapiPrincipal : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_GSSAPI_PRINCIPAL"
        override fun toString(): kotlin.String = "KafkaSaslGssapiPrincipal"
    }

    public object KafkaSaslGssapiService : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_GSSAPI_SERVICE"
        override fun toString(): kotlin.String = "KafkaSaslGssapiService"
    }

    public object KafkaSaslMechanism : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_MECHANISM"
        override fun toString(): kotlin.String = "KafkaSaslMechanism"
    }

    public object KafkaSaslPlainPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_PLAIN_PASSWORD"
        override fun toString(): kotlin.String = "KafkaSaslPlainPassword"
    }

    public object KafkaSaslPlainUsername : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_PLAIN_USERNAME"
        override fun toString(): kotlin.String = "KafkaSaslPlainUsername"
    }

    public object KafkaSaslScramPassword : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_SCRAM_PASSWORD"
        override fun toString(): kotlin.String = "KafkaSaslScramPassword"
    }

    public object KafkaSaslScramSecretsArn : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_SCRAM_SECRETS_ARN"
        override fun toString(): kotlin.String = "KafkaSaslScramSecretsArn"
    }

    public object KafkaSaslScramUsername : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SASL_SCRAM_USERNAME"
        override fun toString(): kotlin.String = "KafkaSaslScramUsername"
    }

    public object KafkaSkipCustomCertValidation : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SKIP_CUSTOM_CERT_VALIDATION"
        override fun toString(): kotlin.String = "KafkaSkipCustomCertValidation"
    }

    public object KafkaSslEnabled : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "KAFKA_SSL_ENABLED"
        override fun toString(): kotlin.String = "KafkaSslEnabled"
    }

    public object Password : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "PASSWORD"
        override fun toString(): kotlin.String = "Password"
    }

    public object Port : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "PORT"
        override fun toString(): kotlin.String = "Port"
    }

    public object Region : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "REGION"
        override fun toString(): kotlin.String = "Region"
    }

    public object RoleArn : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "ROLE_ARN"
        override fun toString(): kotlin.String = "RoleArn"
    }

    public object SecretId : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "SECRET_ID"
        override fun toString(): kotlin.String = "SecretId"
    }

    public object SkipCustomJdbcCertValidation : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "SKIP_CUSTOM_JDBC_CERT_VALIDATION"
        override fun toString(): kotlin.String = "SkipCustomJdbcCertValidation"
    }

    public object UserName : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "USERNAME"
        override fun toString(): kotlin.String = "UserName"
    }

    public object WorkgroupName : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override val value: kotlin.String = "WORKGROUP_NAME"
        override fun toString(): kotlin.String = "WorkgroupName"
    }

    public data class SdkUnknown(override val value: kotlin.String) : aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey() {
        override fun toString(): kotlin.String = "SdkUnknown($value)"
    }

    public companion object {
        /**
         * Convert a raw value to one of the sealed variants or [SdkUnknown]
         */
        public fun fromValue(value: kotlin.String): aws.sdk.kotlin.services.glue.model.ConnectionPropertyKey = when (value) {
            "CLUSTER_IDENTIFIER" -> ClusterIdentifier
            "CONFIG_FILES" -> ConfigFiles
            "CONNECTION_URL" -> ConnectionUrl
            "CONNECTOR_CLASS_NAME" -> ConnectorClassName
            "CONNECTOR_TYPE" -> ConnectorType
            "CONNECTOR_URL" -> ConnectorUrl
            "CUSTOM_JDBC_CERT" -> CustomJdbcCert
            "CUSTOM_JDBC_CERT_STRING" -> CustomJdbcCertString
            "DATABASE" -> Database
            "ENCRYPTED_KAFKA_CLIENT_KEYSTORE_PASSWORD" -> EncryptedKafkaClientKeystorePassword
            "ENCRYPTED_KAFKA_CLIENT_KEY_PASSWORD" -> EncryptedKafkaClientKeyPassword
            "ENCRYPTED_KAFKA_SASL_PLAIN_PASSWORD" -> EncryptedKafkaSaslPlainPassword
            "ENCRYPTED_KAFKA_SASL_SCRAM_PASSWORD" -> EncryptedKafkaSaslScramPassword
            "ENCRYPTED_PASSWORD" -> EncryptedPassword
            "HOST" -> Host
            "INSTANCE_ID" -> InstanceId
            "JDBC_CONNECTION_URL" -> JdbcConnectionUrl
            "JDBC_DRIVER_CLASS_NAME" -> JdbcDriverClassName
            "JDBC_DRIVER_JAR_URI" -> JdbcDriverJarUri
            "JDBC_ENFORCE_SSL" -> JdbcEnforceSsl
            "JDBC_ENGINE" -> JdbcEngine
            "JDBC_ENGINE_VERSION" -> JdbcEngineVersion
            "KAFKA_BOOTSTRAP_SERVERS" -> KafkaBootstrapServers
            "KAFKA_CLIENT_KEYSTORE" -> KafkaClientKeystore
            "KAFKA_CLIENT_KEYSTORE_PASSWORD" -> KafkaClientKeystorePassword
            "KAFKA_CLIENT_KEY_PASSWORD" -> KafkaClientKeyPassword
            "KAFKA_CUSTOM_CERT" -> KafkaCustomCert
            "KAFKA_SASL_GSSAPI_KEYTAB" -> KafkaSaslGssapiKeytab
            "KAFKA_SASL_GSSAPI_KRB5_CONF" -> KafkaSaslGssapiKrb5Conf
            "KAFKA_SASL_GSSAPI_PRINCIPAL" -> KafkaSaslGssapiPrincipal
            "KAFKA_SASL_GSSAPI_SERVICE" -> KafkaSaslGssapiService
            "KAFKA_SASL_MECHANISM" -> KafkaSaslMechanism
            "KAFKA_SASL_PLAIN_PASSWORD" -> KafkaSaslPlainPassword
            "KAFKA_SASL_PLAIN_USERNAME" -> KafkaSaslPlainUsername
            "KAFKA_SASL_SCRAM_PASSWORD" -> KafkaSaslScramPassword
            "KAFKA_SASL_SCRAM_SECRETS_ARN" -> KafkaSaslScramSecretsArn
            "KAFKA_SASL_SCRAM_USERNAME" -> KafkaSaslScramUsername
            "KAFKA_SKIP_CUSTOM_CERT_VALIDATION" -> KafkaSkipCustomCertValidation
            "KAFKA_SSL_ENABLED" -> KafkaSslEnabled
            "PASSWORD" -> Password
            "PORT" -> Port
            "REGION" -> Region
            "ROLE_ARN" -> RoleArn
            "SECRET_ID" -> SecretId
            "SKIP_CUSTOM_JDBC_CERT_VALIDATION" -> SkipCustomJdbcCertValidation
            "USERNAME" -> UserName
            "WORKGROUP_NAME" -> WorkgroupName
            else -> SdkUnknown(value)
        }

        /**
         * Get a list of all possible variants
         */
        public fun values(): kotlin.collections.List = values

        private val values: kotlin.collections.List = listOf(
            ClusterIdentifier,
            ConfigFiles,
            ConnectionUrl,
            ConnectorClassName,
            ConnectorType,
            ConnectorUrl,
            CustomJdbcCert,
            CustomJdbcCertString,
            Database,
            EncryptedKafkaClientKeystorePassword,
            EncryptedKafkaClientKeyPassword,
            EncryptedKafkaSaslPlainPassword,
            EncryptedKafkaSaslScramPassword,
            EncryptedPassword,
            Host,
            InstanceId,
            JdbcConnectionUrl,
            JdbcDriverClassName,
            JdbcDriverJarUri,
            JdbcEnforceSsl,
            JdbcEngine,
            JdbcEngineVersion,
            KafkaBootstrapServers,
            KafkaClientKeystore,
            KafkaClientKeystorePassword,
            KafkaClientKeyPassword,
            KafkaCustomCert,
            KafkaSaslGssapiKeytab,
            KafkaSaslGssapiKrb5Conf,
            KafkaSaslGssapiPrincipal,
            KafkaSaslGssapiService,
            KafkaSaslMechanism,
            KafkaSaslPlainPassword,
            KafkaSaslPlainUsername,
            KafkaSaslScramPassword,
            KafkaSaslScramSecretsArn,
            KafkaSaslScramUsername,
            KafkaSkipCustomCertValidation,
            KafkaSslEnabled,
            Password,
            Port,
            Region,
            RoleArn,
            SecretId,
            SkipCustomJdbcCertValidation,
            UserName,
            WorkgroupName,
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy