commonMain.aws.sdk.kotlin.services.transcribe.model.GetTranscriptionJobResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of transcribe Show documentation
Show all versions of transcribe Show documentation
Amazon Transcribe Service
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.transcribe.model
public class GetTranscriptionJobResponse private constructor(builder: Builder) {
/**
* Provides detailed information about the specified transcription job, including job status and, if applicable, failure reason.
*/
public val transcriptionJob: aws.sdk.kotlin.services.transcribe.model.TranscriptionJob? = builder.transcriptionJob
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.transcribe.model.GetTranscriptionJobResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetTranscriptionJobResponse(")
append("transcriptionJob=$transcriptionJob)")
}
override fun hashCode(): kotlin.Int {
var result = transcriptionJob?.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 GetTranscriptionJobResponse
if (transcriptionJob != other.transcriptionJob) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.transcribe.model.GetTranscriptionJobResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Provides detailed information about the specified transcription job, including job status and, if applicable, failure reason.
*/
public var transcriptionJob: aws.sdk.kotlin.services.transcribe.model.TranscriptionJob? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.transcribe.model.GetTranscriptionJobResponse) : this() {
this.transcriptionJob = x.transcriptionJob
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.transcribe.model.GetTranscriptionJobResponse = GetTranscriptionJobResponse(this)
/**
* construct an [aws.sdk.kotlin.services.transcribe.model.TranscriptionJob] inside the given [block]
*/
public fun transcriptionJob(block: aws.sdk.kotlin.services.transcribe.model.TranscriptionJob.Builder.() -> kotlin.Unit) {
this.transcriptionJob = aws.sdk.kotlin.services.transcribe.model.TranscriptionJob.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy