
commonMain.aws.sdk.kotlin.services.customerprofiles.model.AppflowIntegrationWorkflowAttributes.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.customerprofiles.model
/**
* Structure holding all `APPFLOW_INTEGRATION` specific workflow attributes.
*/
public class AppflowIntegrationWorkflowAttributes private constructor(builder: Builder) {
/**
* The name of the AppFlow connector profile used for ingestion.
*/
public val connectorProfileName: kotlin.String? = builder.connectorProfileName
/**
* The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
*/
public val roleArn: kotlin.String? = builder.roleArn
/**
* Specifies the source connector type, such as Salesforce, ServiceNow, and Marketo. Indicates source of ingestion.
*/
public val sourceConnectorType: aws.sdk.kotlin.services.customerprofiles.model.SourceConnectorType? = builder.sourceConnectorType
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.customerprofiles.model.AppflowIntegrationWorkflowAttributes = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AppflowIntegrationWorkflowAttributes(")
append("connectorProfileName=$connectorProfileName,")
append("roleArn=$roleArn,")
append("sourceConnectorType=$sourceConnectorType")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = connectorProfileName?.hashCode() ?: 0
result = 31 * result + (roleArn?.hashCode() ?: 0)
result = 31 * result + (sourceConnectorType?.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 AppflowIntegrationWorkflowAttributes
if (connectorProfileName != other.connectorProfileName) return false
if (roleArn != other.roleArn) return false
if (sourceConnectorType != other.sourceConnectorType) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.customerprofiles.model.AppflowIntegrationWorkflowAttributes = Builder(this).apply(block).build()
public class Builder {
/**
* The name of the AppFlow connector profile used for ingestion.
*/
public var connectorProfileName: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) of the IAM role. Customer Profiles assumes this role to create resources on your behalf as part of workflow execution.
*/
public var roleArn: kotlin.String? = null
/**
* Specifies the source connector type, such as Salesforce, ServiceNow, and Marketo. Indicates source of ingestion.
*/
public var sourceConnectorType: aws.sdk.kotlin.services.customerprofiles.model.SourceConnectorType? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.customerprofiles.model.AppflowIntegrationWorkflowAttributes) : this() {
this.connectorProfileName = x.connectorProfileName
this.roleArn = x.roleArn
this.sourceConnectorType = x.sourceConnectorType
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.customerprofiles.model.AppflowIntegrationWorkflowAttributes = AppflowIntegrationWorkflowAttributes(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy