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

com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileCredentials.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.appflow.kotlin.outputs

import kotlin.Suppress

/**
 * Connector specific configuration needed to create connector profile based on Authentication mechanism
 * @property amplitude The connector-specific credentials required when using Amplitude.
 * @property customConnector The connector-specific profile credentials that are required when using the custom connector.
 * @property datadog The connector-specific credentials required when using Datadog.
 * @property dynatrace The connector-specific credentials required when using Dynatrace.
 * @property googleAnalytics The connector-specific credentials required when using Google Analytics.
 * @property inforNexus The connector-specific credentials required when using Infor Nexus.
 * @property marketo The connector-specific credentials required when using Marketo.
 * @property pardot The connector-specific credentials required when using Salesforce Pardot.
 * @property redshift The connector-specific credentials required when using Amazon Redshift.
 * @property salesforce The connector-specific credentials required when using Salesforce.
 * @property sapoData The connector-specific profile credentials required when using SAPOData.
 * @property serviceNow The connector-specific credentials required when using ServiceNow.
 * @property singular The connector-specific credentials required when using Singular.
 * @property slack The connector-specific credentials required when using Slack.
 * @property snowflake The connector-specific credentials required when using Snowflake.
 * @property trendmicro The connector-specific credentials required when using Trend Micro.
 * @property veeva The connector-specific credentials required when using Veeva.
 * @property zendesk The connector-specific credentials required when using Zendesk.
 */
public data class ConnectorProfileCredentials(
    public val amplitude: ConnectorProfileAmplitudeConnectorProfileCredentials? = null,
    public val customConnector: ConnectorProfileCustomConnectorProfileCredentials? = null,
    public val datadog: ConnectorProfileDatadogConnectorProfileCredentials? = null,
    public val dynatrace: ConnectorProfileDynatraceConnectorProfileCredentials? = null,
    public val googleAnalytics: ConnectorProfileGoogleAnalyticsConnectorProfileCredentials? = null,
    public val inforNexus: ConnectorProfileInforNexusConnectorProfileCredentials? = null,
    public val marketo: ConnectorProfileMarketoConnectorProfileCredentials? = null,
    public val pardot: ConnectorProfilePardotConnectorProfileCredentials? = null,
    public val redshift: ConnectorProfileRedshiftConnectorProfileCredentials? = null,
    public val salesforce: ConnectorProfileSalesforceConnectorProfileCredentials? = null,
    public val sapoData: ConnectorProfileSapoDataConnectorProfileCredentials? = null,
    public val serviceNow: ConnectorProfileServiceNowConnectorProfileCredentials? = null,
    public val singular: ConnectorProfileSingularConnectorProfileCredentials? = null,
    public val slack: ConnectorProfileSlackConnectorProfileCredentials? = null,
    public val snowflake: ConnectorProfileSnowflakeConnectorProfileCredentials? = null,
    public val trendmicro: ConnectorProfileTrendmicroConnectorProfileCredentials? = null,
    public val veeva: ConnectorProfileVeevaConnectorProfileCredentials? = null,
    public val zendesk: ConnectorProfileZendeskConnectorProfileCredentials? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.appflow.outputs.ConnectorProfileCredentials): ConnectorProfileCredentials = ConnectorProfileCredentials(
            amplitude = javaType.amplitude().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileAmplitudeConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            customConnector = javaType.customConnector().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileCustomConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            datadog = javaType.datadog().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileDatadogConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            dynatrace = javaType.dynatrace().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileDynatraceConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            googleAnalytics = javaType.googleAnalytics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileGoogleAnalyticsConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            inforNexus = javaType.inforNexus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileInforNexusConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            marketo = javaType.marketo().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileMarketoConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            pardot = javaType.pardot().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfilePardotConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            redshift = javaType.redshift().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileRedshiftConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            salesforce = javaType.salesforce().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileSalesforceConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            sapoData = javaType.sapoData().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileSapoDataConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceNow = javaType.serviceNow().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileServiceNowConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            singular = javaType.singular().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileSingularConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            slack = javaType.slack().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileSlackConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            snowflake = javaType.snowflake().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileSnowflakeConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            trendmicro = javaType.trendmicro().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileTrendmicroConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            veeva = javaType.veeva().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileVeevaConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
            zendesk = javaType.zendesk().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.appflow.kotlin.outputs.ConnectorProfileZendeskConnectorProfileCredentials.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy