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

commonMain.aws.sdk.kotlin.services.appflow.model.ConnectorMetadata.kt Maven / Gradle / Ivy

There is a newer version: 1.3.79
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.appflow.model

import aws.smithy.kotlin.runtime.SdkDsl

/**
 * A structure to specify connector-specific metadata such as `oAuthScopes`, `supportedRegions`, `privateLinkServiceUrl`, and so on.
 */
public class ConnectorMetadata private constructor(builder: Builder) {
    /**
     * The connector metadata specific to Amplitude.
     */
    public val amplitude: aws.sdk.kotlin.services.appflow.model.AmplitudeMetadata? = builder.amplitude
    /**
     * The connector metadata specific to Amazon Connect Customer Profiles.
     */
    public val customerProfiles: aws.sdk.kotlin.services.appflow.model.CustomerProfilesMetadata? = builder.customerProfiles
    /**
     * The connector metadata specific to Datadog.
     */
    public val datadog: aws.sdk.kotlin.services.appflow.model.DatadogMetadata? = builder.datadog
    /**
     * The connector metadata specific to Dynatrace.
     */
    public val dynatrace: aws.sdk.kotlin.services.appflow.model.DynatraceMetadata? = builder.dynatrace
    /**
     * The connector metadata specific to Amazon EventBridge.
     */
    public val eventBridge: aws.sdk.kotlin.services.appflow.model.EventBridgeMetadata? = builder.eventBridge
    /**
     * The connector metadata specific to Google Analytics.
     */
    public val googleAnalytics: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsMetadata? = builder.googleAnalytics
    /**
     * The connector metadata specific to Amazon Honeycode.
     */
    public val honeycode: aws.sdk.kotlin.services.appflow.model.HoneycodeMetadata? = builder.honeycode
    /**
     * The connector metadata specific to Infor Nexus.
     */
    public val inforNexus: aws.sdk.kotlin.services.appflow.model.InforNexusMetadata? = builder.inforNexus
    /**
     * The connector metadata specific to Marketo.
     */
    public val marketo: aws.sdk.kotlin.services.appflow.model.MarketoMetadata? = builder.marketo
    /**
     * The connector metadata specific to Salesforce Pardot.
     */
    public val pardot: aws.sdk.kotlin.services.appflow.model.PardotMetadata? = builder.pardot
    /**
     * The connector metadata specific to Amazon Redshift.
     */
    public val redshift: aws.sdk.kotlin.services.appflow.model.RedshiftMetadata? = builder.redshift
    /**
     * The connector metadata specific to Amazon S3.
     */
    public val s3: aws.sdk.kotlin.services.appflow.model.S3Metadata? = builder.s3
    /**
     * The connector metadata specific to Salesforce.
     */
    public val salesforce: aws.sdk.kotlin.services.appflow.model.SalesforceMetadata? = builder.salesforce
    /**
     * The connector metadata specific to SAPOData.
     */
    public val sapoData: aws.sdk.kotlin.services.appflow.model.SapoDataMetadata? = builder.sapoData
    /**
     * The connector metadata specific to ServiceNow.
     */
    public val serviceNow: aws.sdk.kotlin.services.appflow.model.ServiceNowMetadata? = builder.serviceNow
    /**
     * The connector metadata specific to Singular.
     */
    public val singular: aws.sdk.kotlin.services.appflow.model.SingularMetadata? = builder.singular
    /**
     * The connector metadata specific to Slack.
     */
    public val slack: aws.sdk.kotlin.services.appflow.model.SlackMetadata? = builder.slack
    /**
     * The connector metadata specific to Snowflake.
     */
    public val snowflake: aws.sdk.kotlin.services.appflow.model.SnowflakeMetadata? = builder.snowflake
    /**
     * The connector metadata specific to Trend Micro.
     */
    public val trendmicro: aws.sdk.kotlin.services.appflow.model.TrendmicroMetadata? = builder.trendmicro
    /**
     * The connector metadata specific to Upsolver.
     */
    public val upsolver: aws.sdk.kotlin.services.appflow.model.UpsolverMetadata? = builder.upsolver
    /**
     * The connector metadata specific to Veeva.
     */
    public val veeva: aws.sdk.kotlin.services.appflow.model.VeevaMetadata? = builder.veeva
    /**
     * The connector metadata specific to Zendesk.
     */
    public val zendesk: aws.sdk.kotlin.services.appflow.model.ZendeskMetadata? = builder.zendesk

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.appflow.model.ConnectorMetadata = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("ConnectorMetadata(")
        append("amplitude=$amplitude,")
        append("customerProfiles=$customerProfiles,")
        append("datadog=$datadog,")
        append("dynatrace=$dynatrace,")
        append("eventBridge=$eventBridge,")
        append("googleAnalytics=$googleAnalytics,")
        append("honeycode=$honeycode,")
        append("inforNexus=$inforNexus,")
        append("marketo=$marketo,")
        append("pardot=$pardot,")
        append("redshift=$redshift,")
        append("s3=$s3,")
        append("salesforce=$salesforce,")
        append("sapoData=$sapoData,")
        append("serviceNow=$serviceNow,")
        append("singular=$singular,")
        append("slack=$slack,")
        append("snowflake=$snowflake,")
        append("trendmicro=$trendmicro,")
        append("upsolver=$upsolver,")
        append("veeva=$veeva,")
        append("zendesk=$zendesk")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = amplitude?.hashCode() ?: 0
        result = 31 * result + (customerProfiles?.hashCode() ?: 0)
        result = 31 * result + (datadog?.hashCode() ?: 0)
        result = 31 * result + (dynatrace?.hashCode() ?: 0)
        result = 31 * result + (eventBridge?.hashCode() ?: 0)
        result = 31 * result + (googleAnalytics?.hashCode() ?: 0)
        result = 31 * result + (honeycode?.hashCode() ?: 0)
        result = 31 * result + (inforNexus?.hashCode() ?: 0)
        result = 31 * result + (marketo?.hashCode() ?: 0)
        result = 31 * result + (pardot?.hashCode() ?: 0)
        result = 31 * result + (redshift?.hashCode() ?: 0)
        result = 31 * result + (s3?.hashCode() ?: 0)
        result = 31 * result + (salesforce?.hashCode() ?: 0)
        result = 31 * result + (sapoData?.hashCode() ?: 0)
        result = 31 * result + (serviceNow?.hashCode() ?: 0)
        result = 31 * result + (singular?.hashCode() ?: 0)
        result = 31 * result + (slack?.hashCode() ?: 0)
        result = 31 * result + (snowflake?.hashCode() ?: 0)
        result = 31 * result + (trendmicro?.hashCode() ?: 0)
        result = 31 * result + (upsolver?.hashCode() ?: 0)
        result = 31 * result + (veeva?.hashCode() ?: 0)
        result = 31 * result + (zendesk?.hashCode() ?: 0)
        return result
    }

    override fun equals(other: kotlin.Any?): kotlin.Boolean {
        if (this === other) return true
        if (other == null || this::class != other::class) return false

        other as ConnectorMetadata

        if (amplitude != other.amplitude) return false
        if (customerProfiles != other.customerProfiles) return false
        if (datadog != other.datadog) return false
        if (dynatrace != other.dynatrace) return false
        if (eventBridge != other.eventBridge) return false
        if (googleAnalytics != other.googleAnalytics) return false
        if (honeycode != other.honeycode) return false
        if (inforNexus != other.inforNexus) return false
        if (marketo != other.marketo) return false
        if (pardot != other.pardot) return false
        if (redshift != other.redshift) return false
        if (s3 != other.s3) return false
        if (salesforce != other.salesforce) return false
        if (sapoData != other.sapoData) return false
        if (serviceNow != other.serviceNow) return false
        if (singular != other.singular) return false
        if (slack != other.slack) return false
        if (snowflake != other.snowflake) return false
        if (trendmicro != other.trendmicro) return false
        if (upsolver != other.upsolver) return false
        if (veeva != other.veeva) return false
        if (zendesk != other.zendesk) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.appflow.model.ConnectorMetadata = Builder(this).apply(block).build()

    @SdkDsl
    public class Builder {
        /**
         * The connector metadata specific to Amplitude.
         */
        public var amplitude: aws.sdk.kotlin.services.appflow.model.AmplitudeMetadata? = null
        /**
         * The connector metadata specific to Amazon Connect Customer Profiles.
         */
        public var customerProfiles: aws.sdk.kotlin.services.appflow.model.CustomerProfilesMetadata? = null
        /**
         * The connector metadata specific to Datadog.
         */
        public var datadog: aws.sdk.kotlin.services.appflow.model.DatadogMetadata? = null
        /**
         * The connector metadata specific to Dynatrace.
         */
        public var dynatrace: aws.sdk.kotlin.services.appflow.model.DynatraceMetadata? = null
        /**
         * The connector metadata specific to Amazon EventBridge.
         */
        public var eventBridge: aws.sdk.kotlin.services.appflow.model.EventBridgeMetadata? = null
        /**
         * The connector metadata specific to Google Analytics.
         */
        public var googleAnalytics: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsMetadata? = null
        /**
         * The connector metadata specific to Amazon Honeycode.
         */
        public var honeycode: aws.sdk.kotlin.services.appflow.model.HoneycodeMetadata? = null
        /**
         * The connector metadata specific to Infor Nexus.
         */
        public var inforNexus: aws.sdk.kotlin.services.appflow.model.InforNexusMetadata? = null
        /**
         * The connector metadata specific to Marketo.
         */
        public var marketo: aws.sdk.kotlin.services.appflow.model.MarketoMetadata? = null
        /**
         * The connector metadata specific to Salesforce Pardot.
         */
        public var pardot: aws.sdk.kotlin.services.appflow.model.PardotMetadata? = null
        /**
         * The connector metadata specific to Amazon Redshift.
         */
        public var redshift: aws.sdk.kotlin.services.appflow.model.RedshiftMetadata? = null
        /**
         * The connector metadata specific to Amazon S3.
         */
        public var s3: aws.sdk.kotlin.services.appflow.model.S3Metadata? = null
        /**
         * The connector metadata specific to Salesforce.
         */
        public var salesforce: aws.sdk.kotlin.services.appflow.model.SalesforceMetadata? = null
        /**
         * The connector metadata specific to SAPOData.
         */
        public var sapoData: aws.sdk.kotlin.services.appflow.model.SapoDataMetadata? = null
        /**
         * The connector metadata specific to ServiceNow.
         */
        public var serviceNow: aws.sdk.kotlin.services.appflow.model.ServiceNowMetadata? = null
        /**
         * The connector metadata specific to Singular.
         */
        public var singular: aws.sdk.kotlin.services.appflow.model.SingularMetadata? = null
        /**
         * The connector metadata specific to Slack.
         */
        public var slack: aws.sdk.kotlin.services.appflow.model.SlackMetadata? = null
        /**
         * The connector metadata specific to Snowflake.
         */
        public var snowflake: aws.sdk.kotlin.services.appflow.model.SnowflakeMetadata? = null
        /**
         * The connector metadata specific to Trend Micro.
         */
        public var trendmicro: aws.sdk.kotlin.services.appflow.model.TrendmicroMetadata? = null
        /**
         * The connector metadata specific to Upsolver.
         */
        public var upsolver: aws.sdk.kotlin.services.appflow.model.UpsolverMetadata? = null
        /**
         * The connector metadata specific to Veeva.
         */
        public var veeva: aws.sdk.kotlin.services.appflow.model.VeevaMetadata? = null
        /**
         * The connector metadata specific to Zendesk.
         */
        public var zendesk: aws.sdk.kotlin.services.appflow.model.ZendeskMetadata? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.appflow.model.ConnectorMetadata) : this() {
            this.amplitude = x.amplitude
            this.customerProfiles = x.customerProfiles
            this.datadog = x.datadog
            this.dynatrace = x.dynatrace
            this.eventBridge = x.eventBridge
            this.googleAnalytics = x.googleAnalytics
            this.honeycode = x.honeycode
            this.inforNexus = x.inforNexus
            this.marketo = x.marketo
            this.pardot = x.pardot
            this.redshift = x.redshift
            this.s3 = x.s3
            this.salesforce = x.salesforce
            this.sapoData = x.sapoData
            this.serviceNow = x.serviceNow
            this.singular = x.singular
            this.slack = x.slack
            this.snowflake = x.snowflake
            this.trendmicro = x.trendmicro
            this.upsolver = x.upsolver
            this.veeva = x.veeva
            this.zendesk = x.zendesk
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.appflow.model.ConnectorMetadata = ConnectorMetadata(this)

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.AmplitudeMetadata] inside the given [block]
         */
        public fun amplitude(block: aws.sdk.kotlin.services.appflow.model.AmplitudeMetadata.Builder.() -> kotlin.Unit) {
            this.amplitude = aws.sdk.kotlin.services.appflow.model.AmplitudeMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.CustomerProfilesMetadata] inside the given [block]
         */
        public fun customerProfiles(block: aws.sdk.kotlin.services.appflow.model.CustomerProfilesMetadata.Builder.() -> kotlin.Unit) {
            this.customerProfiles = aws.sdk.kotlin.services.appflow.model.CustomerProfilesMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.DatadogMetadata] inside the given [block]
         */
        public fun datadog(block: aws.sdk.kotlin.services.appflow.model.DatadogMetadata.Builder.() -> kotlin.Unit) {
            this.datadog = aws.sdk.kotlin.services.appflow.model.DatadogMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.DynatraceMetadata] inside the given [block]
         */
        public fun dynatrace(block: aws.sdk.kotlin.services.appflow.model.DynatraceMetadata.Builder.() -> kotlin.Unit) {
            this.dynatrace = aws.sdk.kotlin.services.appflow.model.DynatraceMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.EventBridgeMetadata] inside the given [block]
         */
        public fun eventBridge(block: aws.sdk.kotlin.services.appflow.model.EventBridgeMetadata.Builder.() -> kotlin.Unit) {
            this.eventBridge = aws.sdk.kotlin.services.appflow.model.EventBridgeMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsMetadata] inside the given [block]
         */
        public fun googleAnalytics(block: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsMetadata.Builder.() -> kotlin.Unit) {
            this.googleAnalytics = aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.HoneycodeMetadata] inside the given [block]
         */
        public fun honeycode(block: aws.sdk.kotlin.services.appflow.model.HoneycodeMetadata.Builder.() -> kotlin.Unit) {
            this.honeycode = aws.sdk.kotlin.services.appflow.model.HoneycodeMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.InforNexusMetadata] inside the given [block]
         */
        public fun inforNexus(block: aws.sdk.kotlin.services.appflow.model.InforNexusMetadata.Builder.() -> kotlin.Unit) {
            this.inforNexus = aws.sdk.kotlin.services.appflow.model.InforNexusMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.MarketoMetadata] inside the given [block]
         */
        public fun marketo(block: aws.sdk.kotlin.services.appflow.model.MarketoMetadata.Builder.() -> kotlin.Unit) {
            this.marketo = aws.sdk.kotlin.services.appflow.model.MarketoMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.PardotMetadata] inside the given [block]
         */
        public fun pardot(block: aws.sdk.kotlin.services.appflow.model.PardotMetadata.Builder.() -> kotlin.Unit) {
            this.pardot = aws.sdk.kotlin.services.appflow.model.PardotMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.RedshiftMetadata] inside the given [block]
         */
        public fun redshift(block: aws.sdk.kotlin.services.appflow.model.RedshiftMetadata.Builder.() -> kotlin.Unit) {
            this.redshift = aws.sdk.kotlin.services.appflow.model.RedshiftMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.S3Metadata] inside the given [block]
         */
        public fun s3(block: aws.sdk.kotlin.services.appflow.model.S3Metadata.Builder.() -> kotlin.Unit) {
            this.s3 = aws.sdk.kotlin.services.appflow.model.S3Metadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.SalesforceMetadata] inside the given [block]
         */
        public fun salesforce(block: aws.sdk.kotlin.services.appflow.model.SalesforceMetadata.Builder.() -> kotlin.Unit) {
            this.salesforce = aws.sdk.kotlin.services.appflow.model.SalesforceMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.SapoDataMetadata] inside the given [block]
         */
        public fun sapoData(block: aws.sdk.kotlin.services.appflow.model.SapoDataMetadata.Builder.() -> kotlin.Unit) {
            this.sapoData = aws.sdk.kotlin.services.appflow.model.SapoDataMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.ServiceNowMetadata] inside the given [block]
         */
        public fun serviceNow(block: aws.sdk.kotlin.services.appflow.model.ServiceNowMetadata.Builder.() -> kotlin.Unit) {
            this.serviceNow = aws.sdk.kotlin.services.appflow.model.ServiceNowMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.SingularMetadata] inside the given [block]
         */
        public fun singular(block: aws.sdk.kotlin.services.appflow.model.SingularMetadata.Builder.() -> kotlin.Unit) {
            this.singular = aws.sdk.kotlin.services.appflow.model.SingularMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.SlackMetadata] inside the given [block]
         */
        public fun slack(block: aws.sdk.kotlin.services.appflow.model.SlackMetadata.Builder.() -> kotlin.Unit) {
            this.slack = aws.sdk.kotlin.services.appflow.model.SlackMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.SnowflakeMetadata] inside the given [block]
         */
        public fun snowflake(block: aws.sdk.kotlin.services.appflow.model.SnowflakeMetadata.Builder.() -> kotlin.Unit) {
            this.snowflake = aws.sdk.kotlin.services.appflow.model.SnowflakeMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.TrendmicroMetadata] inside the given [block]
         */
        public fun trendmicro(block: aws.sdk.kotlin.services.appflow.model.TrendmicroMetadata.Builder.() -> kotlin.Unit) {
            this.trendmicro = aws.sdk.kotlin.services.appflow.model.TrendmicroMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.UpsolverMetadata] inside the given [block]
         */
        public fun upsolver(block: aws.sdk.kotlin.services.appflow.model.UpsolverMetadata.Builder.() -> kotlin.Unit) {
            this.upsolver = aws.sdk.kotlin.services.appflow.model.UpsolverMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.VeevaMetadata] inside the given [block]
         */
        public fun veeva(block: aws.sdk.kotlin.services.appflow.model.VeevaMetadata.Builder.() -> kotlin.Unit) {
            this.veeva = aws.sdk.kotlin.services.appflow.model.VeevaMetadata.invoke(block)
        }

        /**
         * construct an [aws.sdk.kotlin.services.appflow.model.ZendeskMetadata] inside the given [block]
         */
        public fun zendesk(block: aws.sdk.kotlin.services.appflow.model.ZendeskMetadata.Builder.() -> kotlin.Unit) {
            this.zendesk = aws.sdk.kotlin.services.appflow.model.ZendeskMetadata.invoke(block)
        }

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy