commonMain.aws.sdk.kotlin.services.datazone.model.GetLineageNodeRequest.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 GetLineageNodeRequest private constructor(builder: Builder) {
/**
* The ID of the domain in which you want to get the data lineage node.
*/
public val domainIdentifier: kotlin.String? = builder.domainIdentifier
/**
* The event time stamp for which you want to get the data lineage node.
*/
public val eventTimestamp: aws.smithy.kotlin.runtime.time.Instant? = builder.eventTimestamp
/**
* The ID of the data lineage node that you want to get.
*
* Both, a lineage node identifier generated by Amazon DataZone and a `sourceIdentifier` of the lineage node are supported. If `sourceIdentifier` is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.
*/
public val identifier: kotlin.String? = builder.identifier
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.GetLineageNodeRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetLineageNodeRequest(")
append("domainIdentifier=$domainIdentifier,")
append("eventTimestamp=$eventTimestamp,")
append("identifier=$identifier")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainIdentifier?.hashCode() ?: 0
result = 31 * result + (eventTimestamp?.hashCode() ?: 0)
result = 31 * result + (identifier?.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 GetLineageNodeRequest
if (domainIdentifier != other.domainIdentifier) return false
if (eventTimestamp != other.eventTimestamp) return false
if (identifier != other.identifier) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.GetLineageNodeRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ID of the domain in which you want to get the data lineage node.
*/
public var domainIdentifier: kotlin.String? = null
/**
* The event time stamp for which you want to get the data lineage node.
*/
public var eventTimestamp: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The ID of the data lineage node that you want to get.
*
* Both, a lineage node identifier generated by Amazon DataZone and a `sourceIdentifier` of the lineage node are supported. If `sourceIdentifier` is greater than 1800 characters, you can use lineage node identifier generated by Amazon DataZone to get the node details.
*/
public var identifier: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.GetLineageNodeRequest) : this() {
this.domainIdentifier = x.domainIdentifier
this.eventTimestamp = x.eventTimestamp
this.identifier = x.identifier
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.GetLineageNodeRequest = GetLineageNodeRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy