
commonMain.aws.sdk.kotlin.services.kafkaconnect.model.DeleteConnectorResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.kafkaconnect.model
public class DeleteConnectorResponse private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the connector that you requested to delete.
*/
public val connectorArn: kotlin.String? = builder.connectorArn
/**
* The state of the connector that you requested to delete.
*/
public val connectorState: aws.sdk.kotlin.services.kafkaconnect.model.ConnectorState? = builder.connectorState
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.kafkaconnect.model.DeleteConnectorResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DeleteConnectorResponse(")
append("connectorArn=$connectorArn,")
append("connectorState=$connectorState")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = connectorArn?.hashCode() ?: 0
result = 31 * result + (connectorState?.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 DeleteConnectorResponse
if (connectorArn != other.connectorArn) return false
if (connectorState != other.connectorState) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.kafkaconnect.model.DeleteConnectorResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The Amazon Resource Name (ARN) of the connector that you requested to delete.
*/
public var connectorArn: kotlin.String? = null
/**
* The state of the connector that you requested to delete.
*/
public var connectorState: aws.sdk.kotlin.services.kafkaconnect.model.ConnectorState? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.kafkaconnect.model.DeleteConnectorResponse) : this() {
this.connectorArn = x.connectorArn
this.connectorState = x.connectorState
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.kafkaconnect.model.DeleteConnectorResponse = DeleteConnectorResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy