commonMain.aws.sdk.kotlin.services.glue.model.GetDataflowGraphResponse.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
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.glue.model
import aws.smithy.kotlin.runtime.SdkDsl
public class GetDataflowGraphResponse private constructor(builder: Builder) {
/**
* A list of the edges in the resulting DAG.
*/
public val dagEdges: List? = builder.dagEdges
/**
* A list of the nodes in the resulting DAG.
*/
public val dagNodes: List? = builder.dagNodes
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.glue.model.GetDataflowGraphResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetDataflowGraphResponse(")
append("dagEdges=$dagEdges,")
append("dagNodes=$dagNodes")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = dagEdges?.hashCode() ?: 0
result = 31 * result + (dagNodes?.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 GetDataflowGraphResponse
if (dagEdges != other.dagEdges) return false
if (dagNodes != other.dagNodes) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.glue.model.GetDataflowGraphResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* A list of the edges in the resulting DAG.
*/
public var dagEdges: List? = null
/**
* A list of the nodes in the resulting DAG.
*/
public var dagNodes: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.glue.model.GetDataflowGraphResponse) : this() {
this.dagEdges = x.dagEdges
this.dagNodes = x.dagNodes
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.glue.model.GetDataflowGraphResponse = GetDataflowGraphResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}