commonMain.aws.sdk.kotlin.services.appflow.model.ConnectorDetail.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
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.appflow.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
/**
* Information about the registered connector.
*/
public class ConnectorDetail private constructor(builder: Builder) {
/**
* The application type of the connector.
*/
public val applicationType: kotlin.String? = builder.applicationType
/**
* A description about the registered connector.
*/
public val connectorDescription: kotlin.String? = builder.connectorDescription
/**
* A label used for the connector.
*/
public val connectorLabel: kotlin.String? = builder.connectorLabel
/**
* The connection mode that the connector supports.
*/
public val connectorModes: List? = builder.connectorModes
/**
* The name of the connector.
*/
public val connectorName: kotlin.String? = builder.connectorName
/**
* The owner of the connector.
*/
public val connectorOwner: kotlin.String? = builder.connectorOwner
/**
* The provisioning type that the connector uses.
*/
public val connectorProvisioningType: aws.sdk.kotlin.services.appflow.model.ConnectorProvisioningType? = builder.connectorProvisioningType
/**
* The connector type.
*/
public val connectorType: aws.sdk.kotlin.services.appflow.model.ConnectorType? = builder.connectorType
/**
* The connector version.
*/
public val connectorVersion: kotlin.String? = builder.connectorVersion
/**
* The time at which the connector was registered.
*/
public val registeredAt: aws.smithy.kotlin.runtime.time.Instant? = builder.registeredAt
/**
* The user who registered the connector.
*/
public val registeredBy: kotlin.String? = builder.registeredBy
/**
* The data transfer types that the connector supports.
*
* ## RECORD
* Structured records.
*
* ## FILE
* Files or binary data.
*/
public val supportedDataTransferTypes: List? = builder.supportedDataTransferTypes
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.appflow.model.ConnectorDetail = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ConnectorDetail(")
append("applicationType=$applicationType,")
append("connectorDescription=$connectorDescription,")
append("connectorLabel=$connectorLabel,")
append("connectorModes=$connectorModes,")
append("connectorName=$connectorName,")
append("connectorOwner=$connectorOwner,")
append("connectorProvisioningType=$connectorProvisioningType,")
append("connectorType=$connectorType,")
append("connectorVersion=$connectorVersion,")
append("registeredAt=$registeredAt,")
append("registeredBy=$registeredBy,")
append("supportedDataTransferTypes=$supportedDataTransferTypes")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = applicationType?.hashCode() ?: 0
result = 31 * result + (connectorDescription?.hashCode() ?: 0)
result = 31 * result + (connectorLabel?.hashCode() ?: 0)
result = 31 * result + (connectorModes?.hashCode() ?: 0)
result = 31 * result + (connectorName?.hashCode() ?: 0)
result = 31 * result + (connectorOwner?.hashCode() ?: 0)
result = 31 * result + (connectorProvisioningType?.hashCode() ?: 0)
result = 31 * result + (connectorType?.hashCode() ?: 0)
result = 31 * result + (connectorVersion?.hashCode() ?: 0)
result = 31 * result + (registeredAt?.hashCode() ?: 0)
result = 31 * result + (registeredBy?.hashCode() ?: 0)
result = 31 * result + (supportedDataTransferTypes?.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 ConnectorDetail
if (applicationType != other.applicationType) return false
if (connectorDescription != other.connectorDescription) return false
if (connectorLabel != other.connectorLabel) return false
if (connectorModes != other.connectorModes) return false
if (connectorName != other.connectorName) return false
if (connectorOwner != other.connectorOwner) return false
if (connectorProvisioningType != other.connectorProvisioningType) return false
if (connectorType != other.connectorType) return false
if (connectorVersion != other.connectorVersion) return false
if (registeredAt != other.registeredAt) return false
if (registeredBy != other.registeredBy) return false
if (supportedDataTransferTypes != other.supportedDataTransferTypes) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.appflow.model.ConnectorDetail = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The application type of the connector.
*/
public var applicationType: kotlin.String? = null
/**
* A description about the registered connector.
*/
public var connectorDescription: kotlin.String? = null
/**
* A label used for the connector.
*/
public var connectorLabel: kotlin.String? = null
/**
* The connection mode that the connector supports.
*/
public var connectorModes: List? = null
/**
* The name of the connector.
*/
public var connectorName: kotlin.String? = null
/**
* The owner of the connector.
*/
public var connectorOwner: kotlin.String? = null
/**
* The provisioning type that the connector uses.
*/
public var connectorProvisioningType: aws.sdk.kotlin.services.appflow.model.ConnectorProvisioningType? = null
/**
* The connector type.
*/
public var connectorType: aws.sdk.kotlin.services.appflow.model.ConnectorType? = null
/**
* The connector version.
*/
public var connectorVersion: kotlin.String? = null
/**
* The time at which the connector was registered.
*/
public var registeredAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The user who registered the connector.
*/
public var registeredBy: kotlin.String? = null
/**
* The data transfer types that the connector supports.
*
* ## RECORD
* Structured records.
*
* ## FILE
* Files or binary data.
*/
public var supportedDataTransferTypes: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.appflow.model.ConnectorDetail) : this() {
this.applicationType = x.applicationType
this.connectorDescription = x.connectorDescription
this.connectorLabel = x.connectorLabel
this.connectorModes = x.connectorModes
this.connectorName = x.connectorName
this.connectorOwner = x.connectorOwner
this.connectorProvisioningType = x.connectorProvisioningType
this.connectorType = x.connectorType
this.connectorVersion = x.connectorVersion
this.registeredAt = x.registeredAt
this.registeredBy = x.registeredBy
this.supportedDataTransferTypes = x.supportedDataTransferTypes
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.appflow.model.ConnectorDetail = ConnectorDetail(this)
internal fun correctErrors(): Builder {
return this
}
}
}