commonMain.aws.sdk.kotlin.services.datazone.model.AssetItemAdditionalAttributes.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
/**
* The additional attributes of an inventory asset.
*/
public class AssetItemAdditionalAttributes private constructor(builder: Builder) {
/**
* The forms included in the additional attributes of an inventory asset.
*/
public val formsOutput: List? = builder.formsOutput
/**
* The latest time series data points forms included in the additional attributes of an asset.
*/
public val latestTimeSeriesDataPointFormsOutput: List? = builder.latestTimeSeriesDataPointFormsOutput
/**
* The read-only forms included in the additional attributes of an inventory asset.
*/
public val readOnlyFormsOutput: List? = builder.readOnlyFormsOutput
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.AssetItemAdditionalAttributes = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("AssetItemAdditionalAttributes(")
append("formsOutput=$formsOutput,")
append("latestTimeSeriesDataPointFormsOutput=$latestTimeSeriesDataPointFormsOutput,")
append("readOnlyFormsOutput=$readOnlyFormsOutput")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = formsOutput?.hashCode() ?: 0
result = 31 * result + (latestTimeSeriesDataPointFormsOutput?.hashCode() ?: 0)
result = 31 * result + (readOnlyFormsOutput?.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 AssetItemAdditionalAttributes
if (formsOutput != other.formsOutput) return false
if (latestTimeSeriesDataPointFormsOutput != other.latestTimeSeriesDataPointFormsOutput) return false
if (readOnlyFormsOutput != other.readOnlyFormsOutput) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.AssetItemAdditionalAttributes = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The forms included in the additional attributes of an inventory asset.
*/
public var formsOutput: List? = null
/**
* The latest time series data points forms included in the additional attributes of an asset.
*/
public var latestTimeSeriesDataPointFormsOutput: List? = null
/**
* The read-only forms included in the additional attributes of an inventory asset.
*/
public var readOnlyFormsOutput: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.AssetItemAdditionalAttributes) : this() {
this.formsOutput = x.formsOutput
this.latestTimeSeriesDataPointFormsOutput = x.latestTimeSeriesDataPointFormsOutput
this.readOnlyFormsOutput = x.readOnlyFormsOutput
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.AssetItemAdditionalAttributes = AssetItemAdditionalAttributes(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy