
commonMain.aws.sdk.kotlin.services.healthlake.model.DescribeFhirDatastoreResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.healthlake.model
public class DescribeFhirDatastoreResponse private constructor(builder: Builder) {
/**
* All properties associated with a data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.
*/
public val datastoreProperties: aws.sdk.kotlin.services.healthlake.model.DatastoreProperties? = builder.datastoreProperties
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.healthlake.model.DescribeFhirDatastoreResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeFhirDatastoreResponse(")
append("datastoreProperties=$datastoreProperties")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = datastoreProperties?.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 DescribeFhirDatastoreResponse
if (datastoreProperties != other.datastoreProperties) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.healthlake.model.DescribeFhirDatastoreResponse = Builder(this).apply(block).build()
public class Builder {
/**
* All properties associated with a data store, including the data store ID, data store ARN, data store name, data store status, when the data store was created, data store type version, and the data store's endpoint.
*/
public var datastoreProperties: aws.sdk.kotlin.services.healthlake.model.DatastoreProperties? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.healthlake.model.DescribeFhirDatastoreResponse) : this() {
this.datastoreProperties = x.datastoreProperties
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.healthlake.model.DescribeFhirDatastoreResponse = DescribeFhirDatastoreResponse(this)
/**
* construct an [aws.sdk.kotlin.services.healthlake.model.DatastoreProperties] inside the given [block]
*/
public fun datastoreProperties(block: aws.sdk.kotlin.services.healthlake.model.DatastoreProperties.Builder.() -> kotlin.Unit) {
this.datastoreProperties = aws.sdk.kotlin.services.healthlake.model.DatastoreProperties.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy