commonMain.aws.sdk.kotlin.services.datazone.model.GetTimeSeriesDataPointResponse.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
public class GetTimeSeriesDataPointResponse private constructor(builder: Builder) {
/**
* The ID of the Amazon DataZone domain that houses the asset data point that you want to get.
*/
public val domainId: kotlin.String? = builder.domainId
/**
* The ID of the asset for which you want to get the data point.
*/
public val entityId: kotlin.String? = builder.entityId
/**
* The type of the asset for which you want to get the data point.
*/
public val entityType: aws.sdk.kotlin.services.datazone.model.TimeSeriesEntityType? = builder.entityType
/**
* The time series form that houses the data point that you want to get.
*/
public val form: aws.sdk.kotlin.services.datazone.model.TimeSeriesDataPointFormOutput? = builder.form
/**
* The name of the time series form that houses the data point that you want to get.
*/
public val formName: kotlin.String? = builder.formName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datazone.model.GetTimeSeriesDataPointResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetTimeSeriesDataPointResponse(")
append("domainId=$domainId,")
append("entityId=$entityId,")
append("entityType=$entityType,")
append("form=$form,")
append("formName=$formName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = domainId?.hashCode() ?: 0
result = 31 * result + (entityId?.hashCode() ?: 0)
result = 31 * result + (entityType?.hashCode() ?: 0)
result = 31 * result + (form?.hashCode() ?: 0)
result = 31 * result + (formName?.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 GetTimeSeriesDataPointResponse
if (domainId != other.domainId) return false
if (entityId != other.entityId) return false
if (entityType != other.entityType) return false
if (form != other.form) return false
if (formName != other.formName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datazone.model.GetTimeSeriesDataPointResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The ID of the Amazon DataZone domain that houses the asset data point that you want to get.
*/
public var domainId: kotlin.String? = null
/**
* The ID of the asset for which you want to get the data point.
*/
public var entityId: kotlin.String? = null
/**
* The type of the asset for which you want to get the data point.
*/
public var entityType: aws.sdk.kotlin.services.datazone.model.TimeSeriesEntityType? = null
/**
* The time series form that houses the data point that you want to get.
*/
public var form: aws.sdk.kotlin.services.datazone.model.TimeSeriesDataPointFormOutput? = null
/**
* The name of the time series form that houses the data point that you want to get.
*/
public var formName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datazone.model.GetTimeSeriesDataPointResponse) : this() {
this.domainId = x.domainId
this.entityId = x.entityId
this.entityType = x.entityType
this.form = x.form
this.formName = x.formName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datazone.model.GetTimeSeriesDataPointResponse = GetTimeSeriesDataPointResponse(this)
/**
* construct an [aws.sdk.kotlin.services.datazone.model.TimeSeriesDataPointFormOutput] inside the given [block]
*/
public fun form(block: aws.sdk.kotlin.services.datazone.model.TimeSeriesDataPointFormOutput.Builder.() -> kotlin.Unit) {
this.form = aws.sdk.kotlin.services.datazone.model.TimeSeriesDataPointFormOutput.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy