commonMain.aws.sdk.kotlin.services.glue.model.ModifyIntegrationRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of glue-jvm Show documentation
Show all versions of glue-jvm Show documentation
The AWS SDK for Kotlin client for Glue
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
public class ModifyIntegrationRequest private constructor(builder: Builder) {
/**
* Selects source tables for the integration using Maxwell filter syntax.
*/
public val dataFilter: kotlin.String? = builder.dataFilter
/**
* A description of the integration.
*/
public val description: kotlin.String? = builder.description
/**
* The Amazon Resource Name (ARN) for the integration.
*/
public val integrationIdentifier: kotlin.String? = builder.integrationIdentifier
/**
* A unique name for an integration in Glue.
*/
public val integrationName: kotlin.String? = builder.integrationName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.ModifyIntegrationRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ModifyIntegrationRequest(")
append("dataFilter=$dataFilter,")
append("description=$description,")
append("integrationIdentifier=$integrationIdentifier,")
append("integrationName=$integrationName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = dataFilter?.hashCode() ?: 0
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (integrationIdentifier?.hashCode() ?: 0)
result = 31 * result + (integrationName?.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 ModifyIntegrationRequest
if (dataFilter != other.dataFilter) return false
if (description != other.description) return false
if (integrationIdentifier != other.integrationIdentifier) return false
if (integrationName != other.integrationName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.ModifyIntegrationRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Selects source tables for the integration using Maxwell filter syntax.
*/
public var dataFilter: kotlin.String? = null
/**
* A description of the integration.
*/
public var description: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) for the integration.
*/
public var integrationIdentifier: kotlin.String? = null
/**
* A unique name for an integration in Glue.
*/
public var integrationName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.ModifyIntegrationRequest) : this() {
this.dataFilter = x.dataFilter
this.description = x.description
this.integrationIdentifier = x.integrationIdentifier
this.integrationName = x.integrationName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.ModifyIntegrationRequest = ModifyIntegrationRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy