
commonMain.aws.sdk.kotlin.services.kendra.model.ExperiencesSummary.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.kendra.model
import aws.smithy.kotlin.runtime.time.Instant
/**
* Summary information for your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see [Building a search experience with no code](https://docs.aws.amazon.com/kendra/latest/dg/deploying-search-experience-no-code.html).
*/
public class ExperiencesSummary private constructor(builder: Builder) {
/**
* The Unix timestamp when your Amazon Kendra experience was created.
*/
public val createdAt: aws.smithy.kotlin.runtime.time.Instant? = builder.createdAt
/**
* The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.
*/
public val endpoints: List? = builder.endpoints
/**
* The identifier of your Amazon Kendra experience.
*/
public val id: kotlin.String? = builder.id
/**
* The name of your Amazon Kendra experience.
*/
public val name: kotlin.String? = builder.name
/**
* The processing status of your Amazon Kendra experience.
*/
public val status: aws.sdk.kotlin.services.kendra.model.ExperienceStatus? = builder.status
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.kendra.model.ExperiencesSummary = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ExperiencesSummary(")
append("createdAt=$createdAt,")
append("endpoints=$endpoints,")
append("id=$id,")
append("name=$name,")
append("status=$status")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = createdAt?.hashCode() ?: 0
result = 31 * result + (endpoints?.hashCode() ?: 0)
result = 31 * result + (id?.hashCode() ?: 0)
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (status?.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 ExperiencesSummary
if (createdAt != other.createdAt) return false
if (endpoints != other.endpoints) return false
if (id != other.id) return false
if (name != other.name) return false
if (status != other.status) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.kendra.model.ExperiencesSummary = Builder(this).apply(block).build()
public class Builder {
/**
* The Unix timestamp when your Amazon Kendra experience was created.
*/
public var createdAt: aws.smithy.kotlin.runtime.time.Instant? = null
/**
* The endpoint URLs for your Amazon Kendra experiences. The URLs are unique and fully hosted by Amazon Web Services.
*/
public var endpoints: List? = null
/**
* The identifier of your Amazon Kendra experience.
*/
public var id: kotlin.String? = null
/**
* The name of your Amazon Kendra experience.
*/
public var name: kotlin.String? = null
/**
* The processing status of your Amazon Kendra experience.
*/
public var status: aws.sdk.kotlin.services.kendra.model.ExperienceStatus? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.kendra.model.ExperiencesSummary) : this() {
this.createdAt = x.createdAt
this.endpoints = x.endpoints
this.id = x.id
this.name = x.name
this.status = x.status
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.kendra.model.ExperiencesSummary = ExperiencesSummary(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy