commonMain.aws.sdk.kotlin.services.databrew.model.Metadata.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Contains additional resource information needed for specific datasets.
*/
public class Metadata private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) associated with the dataset. Currently, DataBrew only supports ARNs from Amazon AppFlow.
*/
public val sourceArn: kotlin.String? = builder.sourceArn
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.Metadata = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("Metadata(")
append("sourceArn=$sourceArn")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = sourceArn?.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 Metadata
if (sourceArn != other.sourceArn) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.Metadata = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The Amazon Resource Name (ARN) associated with the dataset. Currently, DataBrew only supports ARNs from Amazon AppFlow.
*/
public var sourceArn: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.Metadata) : this() {
this.sourceArn = x.sourceArn
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.Metadata = Metadata(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy