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