aws.sdk.kotlin.services.sagemaker.model.DescribeProcessingJobRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
class DescribeProcessingJobRequest private constructor(builder: BuilderImpl) {
/**
* The name of the processing job. The name must be unique within an Amazon Web Services Region in the
* Amazon Web Services account.
*/
val processingJobName: String? = builder.processingJobName
companion object {
@JvmStatic
fun fluentBuilder(): FluentBuilder = BuilderImpl()
internal fun builder(): DslBuilder = BuilderImpl()
operator fun invoke(block: DslBuilder.() -> kotlin.Unit): DescribeProcessingJobRequest = BuilderImpl().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeProcessingJobRequest(")
append("processingJobName=$processingJobName)")
}
override fun hashCode(): kotlin.Int {
var result = processingJobName?.hashCode() ?: 0
return result
}
override fun equals(other: kotlin.Any?): kotlin.Boolean {
if (this === other) return true
if (javaClass != other?.javaClass) return false
other as DescribeProcessingJobRequest
if (processingJobName != other.processingJobName) return false
return true
}
fun copy(block: DslBuilder.() -> kotlin.Unit = {}): DescribeProcessingJobRequest = BuilderImpl(this).apply(block).build()
interface FluentBuilder {
fun build(): DescribeProcessingJobRequest
/**
* The name of the processing job. The name must be unique within an Amazon Web Services Region in the
* Amazon Web Services account.
*/
fun processingJobName(processingJobName: String): FluentBuilder
}
interface DslBuilder {
/**
* The name of the processing job. The name must be unique within an Amazon Web Services Region in the
* Amazon Web Services account.
*/
var processingJobName: String?
fun build(): DescribeProcessingJobRequest
}
private class BuilderImpl() : FluentBuilder, DslBuilder {
override var processingJobName: String? = null
constructor(x: DescribeProcessingJobRequest) : this() {
this.processingJobName = x.processingJobName
}
override fun build(): DescribeProcessingJobRequest = DescribeProcessingJobRequest(this)
override fun processingJobName(processingJobName: String): FluentBuilder = apply { this.processingJobName = processingJobName }
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy