All Downloads are FREE. Search and download functionalities are using the official Maven repository.

aws.sdk.kotlin.services.sagemaker.model.QueryLineageResponse.kt Maven / Gradle / Ivy

There is a newer version: 1.3.99
Show newest version
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.sagemaker.model



class QueryLineageResponse private constructor(builder: Builder) {
    /**
     * A list of edges that connect vertices in the response.
     */
    val edges: List? = builder.edges
    /**
     * Limits the number of vertices in the response. Use the NextToken in a response to to retrieve the next page of results.
     */
    val nextToken: kotlin.String? = builder.nextToken
    /**
     * A list of vertices connected to the start entity(ies) in the lineage graph.
     */
    val vertices: List? = builder.vertices

    companion object {
        operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemaker.model.QueryLineageResponse = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("QueryLineageResponse(")
        append("edges=$edges,")
        append("nextToken=$nextToken,")
        append("vertices=$vertices)")
    }

    override fun hashCode(): kotlin.Int {
        var result = edges?.hashCode() ?: 0
        result = 31 * result + (nextToken?.hashCode() ?: 0)
        result = 31 * result + (vertices?.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 QueryLineageResponse

        if (edges != other.edges) return false
        if (nextToken != other.nextToken) return false
        if (vertices != other.vertices) return false

        return true
    }

    inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemaker.model.QueryLineageResponse = Builder(this).apply(block).build()

    class Builder {
        /**
         * A list of edges that connect vertices in the response.
         */
        var edges: List? = null
        /**
         * Limits the number of vertices in the response. Use the NextToken in a response to to retrieve the next page of results.
         */
        var nextToken: kotlin.String? = null
        /**
         * A list of vertices connected to the start entity(ies) in the lineage graph.
         */
        var vertices: List? = null

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.sagemaker.model.QueryLineageResponse) : this() {
            this.edges = x.edges
            this.nextToken = x.nextToken
            this.vertices = x.vertices
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.sagemaker.model.QueryLineageResponse = QueryLineageResponse(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy