commonMain.aws.sdk.kotlin.services.glue.model.DescribeEntityRequest.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 DescribeEntityRequest private constructor(builder: Builder) {
/**
* The catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.
*/
public val catalogId: kotlin.String? = builder.catalogId
/**
* The name of the connection that contains the connection type credentials.
*/
public val connectionName: kotlin.String? = builder.connectionName
/**
* The version of the API used for the data store.
*/
public val dataStoreApiVersion: kotlin.String? = builder.dataStoreApiVersion
/**
* The name of the entity that you want to describe from the connection type.
*/
public val entityName: kotlin.String? = builder.entityName
/**
* A continuation token, included if this is a continuation call.
*/
public val nextToken: kotlin.String? = builder.nextToken
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.DescribeEntityRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeEntityRequest(")
append("catalogId=$catalogId,")
append("connectionName=$connectionName,")
append("dataStoreApiVersion=$dataStoreApiVersion,")
append("entityName=$entityName,")
append("nextToken=$nextToken")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = catalogId?.hashCode() ?: 0
result = 31 * result + (connectionName?.hashCode() ?: 0)
result = 31 * result + (dataStoreApiVersion?.hashCode() ?: 0)
result = 31 * result + (entityName?.hashCode() ?: 0)
result = 31 * result + (nextToken?.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 DescribeEntityRequest
if (catalogId != other.catalogId) return false
if (connectionName != other.connectionName) return false
if (dataStoreApiVersion != other.dataStoreApiVersion) return false
if (entityName != other.entityName) return false
if (nextToken != other.nextToken) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.DescribeEntityRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The catalog ID of the catalog that contains the connection. This can be null, By default, the Amazon Web Services Account ID is the catalog ID.
*/
public var catalogId: kotlin.String? = null
/**
* The name of the connection that contains the connection type credentials.
*/
public var connectionName: kotlin.String? = null
/**
* The version of the API used for the data store.
*/
public var dataStoreApiVersion: kotlin.String? = null
/**
* The name of the entity that you want to describe from the connection type.
*/
public var entityName: kotlin.String? = null
/**
* A continuation token, included if this is a continuation call.
*/
public var nextToken: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.DescribeEntityRequest) : this() {
this.catalogId = x.catalogId
this.connectionName = x.connectionName
this.dataStoreApiVersion = x.dataStoreApiVersion
this.entityName = x.entityName
this.nextToken = x.nextToken
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.DescribeEntityRequest = DescribeEntityRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy