commonMain.aws.sdk.kotlin.services.datazone.model.GetLineageNodeResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datazone-jvm Show documentation
Show all versions of datazone-jvm Show documentation
The AWS SDK for Kotlin client for DataZone
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datazone.model
import aws.smithy.kotlin.runtime.SdkDsl
import aws.smithy.kotlin.runtime.time.Instant
public class GetLineageNodeResponse private constructor(builder: Builder) {
/**
* The timestamp at which the data lineage node was created.
*/
public val createdAt: aws.smithy.kotlin.runtime.time.Instant? = builder.createdAt
/**
* The user who created the data lineage node.
*/
public val createdBy: kotlin.String? = builder.createdBy
/**
* The description of the data lineage node.
*/
public val description: kotlin.String? = builder.description
/**
* The ID of the domain where you're getting the data lineage node.
*/
public val domainId: kotlin.String = requireNotNull(builder.domainId) { "A non-null value must be provided for domainId" }
/**
* The downsteam nodes of the specified data lineage node.
*/
public val downstreamNodes: List? = builder.downstreamNodes
/**
* The timestamp of the event described in the data lineage node.
*/
public val eventTimestamp: aws.smithy.kotlin.runtime.time.Instant? = builder.eventTimestamp
/**
* The metadata of the specified data lineage node.
*/
public val formsOutput: List? = builder.formsOutput
/**
* The ID of the data lineage node.
*/
public val id: kotlin.String = requireNotNull(builder.id) { "A non-null value must be provided for id" }
/**
* The name of the data lineage node.
*/
public val name: kotlin.String? = builder.name
/**
* The source identifier of the data lineage node.
*/
public val sourceIdentifier: kotlin.String? = builder.sourceIdentifier
/**
* The name of the type of the specified data lineage node.
*/
public val typeName: kotlin.String = requireNotNull(builder.typeName) { "A non-null value must be provided for typeName" }
/**
* The revision type of the specified data lineage node.
*/
public val typeRevision: kotlin.String? = builder.typeRevision
/**
* The timestamp at which the data lineage node was updated.
*/
public val updatedAt: aws.smithy.kotlin.runtime.time.Instant? = builder.updatedAt
/**
* The user who updated the data lineage node.
*/
public val updatedBy: kotlin.String? = builder.updatedBy
/**
* The upstream nodes of the specified data lineage node.
*/
public val upstreamNodes: List? = builder.upstreamNodes
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.GetLineageNodeResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetLineageNodeResponse(")
append("createdAt=$createdAt,")
append("createdBy=$createdBy,")
append("description=$description,")
append("domainId=$domainId,")
append("downstreamNodes=$downstreamNodes,")
append("eventTimestamp=$eventTimestamp,")
append("formsOutput=$formsOutput,")
append("id=$id,")
append("name=$name,")
append("sourceIdentifier=$sourceIdentifier,")
append("typeName=$typeName,")
append("typeRevision=$typeRevision,")
append("updatedAt=$updatedAt,")
append("updatedBy=$updatedBy,")
append("upstreamNodes=$upstreamNodes")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = createdAt?.hashCode() ?: 0
result = 31 * result + (createdBy?.hashCode() ?: 0)
result = 31 * result + (description?.hashCode() ?: 0)
result = 31 * result + (domainId.hashCode())
result = 31 * result + (downstreamNodes?.hashCode() ?: 0)
result = 31 * result + (eventTimestamp?.hashCode() ?: 0)
result = 31 * result + (formsOutput?.hashCode() ?: 0)
result = 31 * result + (id.hashCode())
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (sourceIdentifier?.hashCode() ?: 0)
result = 31 * result + (typeName.hashCode())
result = 31 * result + (typeRevision?.hashCode() ?: 0)
result = 31 * result + (updatedAt?.hashCode() ?: 0)
result = 31 * result + (updatedBy?.hashCode() ?: 0)
result = 31 * result + (upstreamNodes?.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 GetLineageNodeResponse
if (createdAt != other.createdAt) return false
if (createdBy != other.createdBy) return false
if (description != other.description) return false
if (domainId != other.domainId) return false
if (downstreamNodes != other.downstreamNodes) return false
if (eventTimestamp != other.eventTimestamp) return false
if (formsOutput != other.formsOutput) return false
if (id != other.id) return false
if (name != other.name) return false
if (sourceIdentifier != other.sourceIdentifier) return false
if (typeName != other.typeName) return false
if (typeRevision != other.typeRevision) return false
if (updatedAt != other.updatedAt) return false
if (updatedBy != other.updatedBy) return false
if (upstreamNodes != other.upstreamNodes) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.GetLineageNodeResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The timestamp at which the data lineage node was created.
*/
public var createdAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The user who created the data lineage node.
*/
public var createdBy: kotlin.String? = null
/**
* The description of the data lineage node.
*/
public var description: kotlin.String? = null
/**
* The ID of the domain where you're getting the data lineage node.
*/
public var domainId: kotlin.String? = null
/**
* The downsteam nodes of the specified data lineage node.
*/
public var downstreamNodes: List? = null
/**
* The timestamp of the event described in the data lineage node.
*/
public var eventTimestamp: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The metadata of the specified data lineage node.
*/
public var formsOutput: List? = null
/**
* The ID of the data lineage node.
*/
public var id: kotlin.String? = null
/**
* The name of the data lineage node.
*/
public var name: kotlin.String? = null
/**
* The source identifier of the data lineage node.
*/
public var sourceIdentifier: kotlin.String? = null
/**
* The name of the type of the specified data lineage node.
*/
public var typeName: kotlin.String? = null
/**
* The revision type of the specified data lineage node.
*/
public var typeRevision: kotlin.String? = null
/**
* The timestamp at which the data lineage node was updated.
*/
public var updatedAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The user who updated the data lineage node.
*/
public var updatedBy: kotlin.String? = null
/**
* The upstream nodes of the specified data lineage node.
*/
public var upstreamNodes: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.GetLineageNodeResponse) : this() {
this.createdAt = x.createdAt
this.createdBy = x.createdBy
this.description = x.description
this.domainId = x.domainId
this.downstreamNodes = x.downstreamNodes
this.eventTimestamp = x.eventTimestamp
this.formsOutput = x.formsOutput
this.id = x.id
this.name = x.name
this.sourceIdentifier = x.sourceIdentifier
this.typeName = x.typeName
this.typeRevision = x.typeRevision
this.updatedAt = x.updatedAt
this.updatedBy = x.updatedBy
this.upstreamNodes = x.upstreamNodes
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.GetLineageNodeResponse = GetLineageNodeResponse(this)
internal fun correctErrors(): Builder {
if (domainId == null) domainId = ""
if (id == null) id = ""
if (typeName == null) typeName = ""
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy