commonMain.aws.sdk.kotlin.services.appflow.model.ConnectorProfileProperties.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appflow-jvm Show documentation
Show all versions of appflow-jvm Show documentation
The AWS SDK for Kotlin client for Appflow
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appflow.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* The connector-specific profile properties required by each connector.
*/
public class ConnectorProfileProperties private constructor(builder: Builder) {
/**
* The connector-specific properties required by Amplitude.
*/
public val amplitude: aws.sdk.kotlin.services.appflow.model.AmplitudeConnectorProfileProperties? = builder.amplitude
/**
* The properties required by the custom connector.
*/
public val customConnector: aws.sdk.kotlin.services.appflow.model.CustomConnectorProfileProperties? = builder.customConnector
/**
* The connector-specific properties required by Datadog.
*/
public val datadog: aws.sdk.kotlin.services.appflow.model.DatadogConnectorProfileProperties? = builder.datadog
/**
* The connector-specific properties required by Dynatrace.
*/
public val dynatrace: aws.sdk.kotlin.services.appflow.model.DynatraceConnectorProfileProperties? = builder.dynatrace
/**
* The connector-specific properties required Google Analytics.
*/
public val googleAnalytics: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsConnectorProfileProperties? = builder.googleAnalytics
/**
* The connector-specific properties required by Amazon Honeycode.
*/
public val honeycode: aws.sdk.kotlin.services.appflow.model.HoneycodeConnectorProfileProperties? = builder.honeycode
/**
* The connector-specific properties required by Infor Nexus.
*/
public val inforNexus: aws.sdk.kotlin.services.appflow.model.InforNexusConnectorProfileProperties? = builder.inforNexus
/**
* The connector-specific properties required by Marketo.
*/
public val marketo: aws.sdk.kotlin.services.appflow.model.MarketoConnectorProfileProperties? = builder.marketo
/**
* The connector-specific properties required by Salesforce Pardot.
*/
public val pardot: aws.sdk.kotlin.services.appflow.model.PardotConnectorProfileProperties? = builder.pardot
/**
* The connector-specific properties required by Amazon Redshift.
*/
public val redshift: aws.sdk.kotlin.services.appflow.model.RedshiftConnectorProfileProperties? = builder.redshift
/**
* The connector-specific properties required by Salesforce.
*/
public val salesforce: aws.sdk.kotlin.services.appflow.model.SalesforceConnectorProfileProperties? = builder.salesforce
/**
* The connector-specific profile properties required when using SAPOData.
*/
public val sapoData: aws.sdk.kotlin.services.appflow.model.SapoDataConnectorProfileProperties? = builder.sapoData
/**
* The connector-specific properties required by serviceNow.
*/
public val serviceNow: aws.sdk.kotlin.services.appflow.model.ServiceNowConnectorProfileProperties? = builder.serviceNow
/**
* The connector-specific properties required by Singular.
*/
public val singular: aws.sdk.kotlin.services.appflow.model.SingularConnectorProfileProperties? = builder.singular
/**
* The connector-specific properties required by Slack.
*/
public val slack: aws.sdk.kotlin.services.appflow.model.SlackConnectorProfileProperties? = builder.slack
/**
* The connector-specific properties required by Snowflake.
*/
public val snowflake: aws.sdk.kotlin.services.appflow.model.SnowflakeConnectorProfileProperties? = builder.snowflake
/**
* The connector-specific properties required by Trend Micro.
*/
public val trendmicro: aws.sdk.kotlin.services.appflow.model.TrendmicroConnectorProfileProperties? = builder.trendmicro
/**
* The connector-specific properties required by Veeva.
*/
public val veeva: aws.sdk.kotlin.services.appflow.model.VeevaConnectorProfileProperties? = builder.veeva
/**
* The connector-specific properties required by Zendesk.
*/
public val zendesk: aws.sdk.kotlin.services.appflow.model.ZendeskConnectorProfileProperties? = builder.zendesk
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.appflow.model.ConnectorProfileProperties = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ConnectorProfileProperties(")
append("amplitude=$amplitude,")
append("customConnector=$customConnector,")
append("datadog=$datadog,")
append("dynatrace=$dynatrace,")
append("googleAnalytics=$googleAnalytics,")
append("honeycode=$honeycode,")
append("inforNexus=$inforNexus,")
append("marketo=$marketo,")
append("pardot=$pardot,")
append("redshift=$redshift,")
append("salesforce=$salesforce,")
append("sapoData=$sapoData,")
append("serviceNow=$serviceNow,")
append("singular=$singular,")
append("slack=$slack,")
append("snowflake=$snowflake,")
append("trendmicro=$trendmicro,")
append("veeva=$veeva,")
append("zendesk=$zendesk")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = amplitude?.hashCode() ?: 0
result = 31 * result + (customConnector?.hashCode() ?: 0)
result = 31 * result + (datadog?.hashCode() ?: 0)
result = 31 * result + (dynatrace?.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 + (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 + (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 ConnectorProfileProperties
if (amplitude != other.amplitude) return false
if (customConnector != other.customConnector) return false
if (datadog != other.datadog) return false
if (dynatrace != other.dynatrace) 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 (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 (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.ConnectorProfileProperties = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The connector-specific properties required by Amplitude.
*/
public var amplitude: aws.sdk.kotlin.services.appflow.model.AmplitudeConnectorProfileProperties? = null
/**
* The properties required by the custom connector.
*/
public var customConnector: aws.sdk.kotlin.services.appflow.model.CustomConnectorProfileProperties? = null
/**
* The connector-specific properties required by Datadog.
*/
public var datadog: aws.sdk.kotlin.services.appflow.model.DatadogConnectorProfileProperties? = null
/**
* The connector-specific properties required by Dynatrace.
*/
public var dynatrace: aws.sdk.kotlin.services.appflow.model.DynatraceConnectorProfileProperties? = null
/**
* The connector-specific properties required Google Analytics.
*/
public var googleAnalytics: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsConnectorProfileProperties? = null
/**
* The connector-specific properties required by Amazon Honeycode.
*/
public var honeycode: aws.sdk.kotlin.services.appflow.model.HoneycodeConnectorProfileProperties? = null
/**
* The connector-specific properties required by Infor Nexus.
*/
public var inforNexus: aws.sdk.kotlin.services.appflow.model.InforNexusConnectorProfileProperties? = null
/**
* The connector-specific properties required by Marketo.
*/
public var marketo: aws.sdk.kotlin.services.appflow.model.MarketoConnectorProfileProperties? = null
/**
* The connector-specific properties required by Salesforce Pardot.
*/
public var pardot: aws.sdk.kotlin.services.appflow.model.PardotConnectorProfileProperties? = null
/**
* The connector-specific properties required by Amazon Redshift.
*/
public var redshift: aws.sdk.kotlin.services.appflow.model.RedshiftConnectorProfileProperties? = null
/**
* The connector-specific properties required by Salesforce.
*/
public var salesforce: aws.sdk.kotlin.services.appflow.model.SalesforceConnectorProfileProperties? = null
/**
* The connector-specific profile properties required when using SAPOData.
*/
public var sapoData: aws.sdk.kotlin.services.appflow.model.SapoDataConnectorProfileProperties? = null
/**
* The connector-specific properties required by serviceNow.
*/
public var serviceNow: aws.sdk.kotlin.services.appflow.model.ServiceNowConnectorProfileProperties? = null
/**
* The connector-specific properties required by Singular.
*/
public var singular: aws.sdk.kotlin.services.appflow.model.SingularConnectorProfileProperties? = null
/**
* The connector-specific properties required by Slack.
*/
public var slack: aws.sdk.kotlin.services.appflow.model.SlackConnectorProfileProperties? = null
/**
* The connector-specific properties required by Snowflake.
*/
public var snowflake: aws.sdk.kotlin.services.appflow.model.SnowflakeConnectorProfileProperties? = null
/**
* The connector-specific properties required by Trend Micro.
*/
public var trendmicro: aws.sdk.kotlin.services.appflow.model.TrendmicroConnectorProfileProperties? = null
/**
* The connector-specific properties required by Veeva.
*/
public var veeva: aws.sdk.kotlin.services.appflow.model.VeevaConnectorProfileProperties? = null
/**
* The connector-specific properties required by Zendesk.
*/
public var zendesk: aws.sdk.kotlin.services.appflow.model.ZendeskConnectorProfileProperties? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.appflow.model.ConnectorProfileProperties) : this() {
this.amplitude = x.amplitude
this.customConnector = x.customConnector
this.datadog = x.datadog
this.dynatrace = x.dynatrace
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.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.veeva = x.veeva
this.zendesk = x.zendesk
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.appflow.model.ConnectorProfileProperties = ConnectorProfileProperties(this)
/**
* construct an [aws.sdk.kotlin.services.appflow.model.AmplitudeConnectorProfileProperties] inside the given [block]
*/
public fun amplitude(block: aws.sdk.kotlin.services.appflow.model.AmplitudeConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.amplitude = aws.sdk.kotlin.services.appflow.model.AmplitudeConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.CustomConnectorProfileProperties] inside the given [block]
*/
public fun customConnector(block: aws.sdk.kotlin.services.appflow.model.CustomConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.customConnector = aws.sdk.kotlin.services.appflow.model.CustomConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.DatadogConnectorProfileProperties] inside the given [block]
*/
public fun datadog(block: aws.sdk.kotlin.services.appflow.model.DatadogConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.datadog = aws.sdk.kotlin.services.appflow.model.DatadogConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.DynatraceConnectorProfileProperties] inside the given [block]
*/
public fun dynatrace(block: aws.sdk.kotlin.services.appflow.model.DynatraceConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.dynatrace = aws.sdk.kotlin.services.appflow.model.DynatraceConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsConnectorProfileProperties] inside the given [block]
*/
public fun googleAnalytics(block: aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.googleAnalytics = aws.sdk.kotlin.services.appflow.model.GoogleAnalyticsConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.HoneycodeConnectorProfileProperties] inside the given [block]
*/
public fun honeycode(block: aws.sdk.kotlin.services.appflow.model.HoneycodeConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.honeycode = aws.sdk.kotlin.services.appflow.model.HoneycodeConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.InforNexusConnectorProfileProperties] inside the given [block]
*/
public fun inforNexus(block: aws.sdk.kotlin.services.appflow.model.InforNexusConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.inforNexus = aws.sdk.kotlin.services.appflow.model.InforNexusConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.MarketoConnectorProfileProperties] inside the given [block]
*/
public fun marketo(block: aws.sdk.kotlin.services.appflow.model.MarketoConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.marketo = aws.sdk.kotlin.services.appflow.model.MarketoConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.PardotConnectorProfileProperties] inside the given [block]
*/
public fun pardot(block: aws.sdk.kotlin.services.appflow.model.PardotConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.pardot = aws.sdk.kotlin.services.appflow.model.PardotConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.RedshiftConnectorProfileProperties] inside the given [block]
*/
public fun redshift(block: aws.sdk.kotlin.services.appflow.model.RedshiftConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.redshift = aws.sdk.kotlin.services.appflow.model.RedshiftConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.SalesforceConnectorProfileProperties] inside the given [block]
*/
public fun salesforce(block: aws.sdk.kotlin.services.appflow.model.SalesforceConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.salesforce = aws.sdk.kotlin.services.appflow.model.SalesforceConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.SapoDataConnectorProfileProperties] inside the given [block]
*/
public fun sapoData(block: aws.sdk.kotlin.services.appflow.model.SapoDataConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.sapoData = aws.sdk.kotlin.services.appflow.model.SapoDataConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.ServiceNowConnectorProfileProperties] inside the given [block]
*/
public fun serviceNow(block: aws.sdk.kotlin.services.appflow.model.ServiceNowConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.serviceNow = aws.sdk.kotlin.services.appflow.model.ServiceNowConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.SingularConnectorProfileProperties] inside the given [block]
*/
public fun singular(block: aws.sdk.kotlin.services.appflow.model.SingularConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.singular = aws.sdk.kotlin.services.appflow.model.SingularConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.SlackConnectorProfileProperties] inside the given [block]
*/
public fun slack(block: aws.sdk.kotlin.services.appflow.model.SlackConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.slack = aws.sdk.kotlin.services.appflow.model.SlackConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.SnowflakeConnectorProfileProperties] inside the given [block]
*/
public fun snowflake(block: aws.sdk.kotlin.services.appflow.model.SnowflakeConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.snowflake = aws.sdk.kotlin.services.appflow.model.SnowflakeConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.TrendmicroConnectorProfileProperties] inside the given [block]
*/
public fun trendmicro(block: aws.sdk.kotlin.services.appflow.model.TrendmicroConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.trendmicro = aws.sdk.kotlin.services.appflow.model.TrendmicroConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.VeevaConnectorProfileProperties] inside the given [block]
*/
public fun veeva(block: aws.sdk.kotlin.services.appflow.model.VeevaConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.veeva = aws.sdk.kotlin.services.appflow.model.VeevaConnectorProfileProperties.invoke(block)
}
/**
* construct an [aws.sdk.kotlin.services.appflow.model.ZendeskConnectorProfileProperties] inside the given [block]
*/
public fun zendesk(block: aws.sdk.kotlin.services.appflow.model.ZendeskConnectorProfileProperties.Builder.() -> kotlin.Unit) {
this.zendesk = aws.sdk.kotlin.services.appflow.model.ZendeskConnectorProfileProperties.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}