aws.sdk.kotlin.services.transcribe.model.ListMedicalTranscriptionJobsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.transcribe.model
class ListMedicalTranscriptionJobsRequest private constructor(builder: Builder) {
/**
* When specified, the jobs returned in the list are limited to jobs whose name contains the
* specified string.
*/
val jobNameContains: kotlin.String? = builder.jobNameContains
/**
* The maximum number of medical transcription jobs to return in each page of results. If
* there are fewer results than the value you specify, only the actual results are returned. If you
* do not specify a value, the default of 5 is used.
*/
val maxResults: kotlin.Int? = builder.maxResults
/**
* If you a receive a truncated result in the previous request of
* ListMedicalTranscriptionJobs, include NextToken to fetch the
* next set of jobs.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* When specified, returns only medical transcription jobs with the specified status. Jobs
* are ordered by creation date, with the newest jobs returned first. If you don't specify a status,
* Amazon Transcribe Medical returns all transcription jobs ordered by creation date.
*/
val status: aws.sdk.kotlin.services.transcribe.model.TranscriptionJobStatus? = builder.status
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.transcribe.model.ListMedicalTranscriptionJobsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListMedicalTranscriptionJobsRequest(")
append("jobNameContains=$jobNameContains,")
append("maxResults=$maxResults,")
append("nextToken=$nextToken,")
append("status=$status)")
}
override fun hashCode(): kotlin.Int {
var result = jobNameContains?.hashCode() ?: 0
result = 31 * result + (maxResults ?: 0)
result = 31 * result + (nextToken?.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 ListMedicalTranscriptionJobsRequest
if (jobNameContains != other.jobNameContains) return false
if (maxResults != other.maxResults) return false
if (nextToken != other.nextToken) return false
if (status != other.status) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.transcribe.model.ListMedicalTranscriptionJobsRequest = Builder(this).apply(block).build()
class Builder {
/**
* When specified, the jobs returned in the list are limited to jobs whose name contains the
* specified string.
*/
var jobNameContains: kotlin.String? = null
/**
* The maximum number of medical transcription jobs to return in each page of results. If
* there are fewer results than the value you specify, only the actual results are returned. If you
* do not specify a value, the default of 5 is used.
*/
var maxResults: kotlin.Int? = null
/**
* If you a receive a truncated result in the previous request of
* ListMedicalTranscriptionJobs, include NextToken to fetch the
* next set of jobs.
*/
var nextToken: kotlin.String? = null
/**
* When specified, returns only medical transcription jobs with the specified status. Jobs
* are ordered by creation date, with the newest jobs returned first. If you don't specify a status,
* Amazon Transcribe Medical returns all transcription jobs ordered by creation date.
*/
var status: aws.sdk.kotlin.services.transcribe.model.TranscriptionJobStatus? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.transcribe.model.ListMedicalTranscriptionJobsRequest) : this() {
this.jobNameContains = x.jobNameContains
this.maxResults = x.maxResults
this.nextToken = x.nextToken
this.status = x.status
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.transcribe.model.ListMedicalTranscriptionJobsRequest = ListMedicalTranscriptionJobsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy