
commonMain.aws.sdk.kotlin.services.emr.model.ModifyClusterResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.emr.model
public class ModifyClusterResponse private constructor(builder: Builder) {
/**
* The number of steps that can be executed concurrently.
*/
public val stepConcurrencyLevel: kotlin.Int? = builder.stepConcurrencyLevel
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.emr.model.ModifyClusterResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ModifyClusterResponse(")
append("stepConcurrencyLevel=$stepConcurrencyLevel)")
}
override fun hashCode(): kotlin.Int {
var result = stepConcurrencyLevel ?: 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 ModifyClusterResponse
if (stepConcurrencyLevel != other.stepConcurrencyLevel) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.emr.model.ModifyClusterResponse = Builder(this).apply(block).build()
public class Builder {
/**
* The number of steps that can be executed concurrently.
*/
public var stepConcurrencyLevel: kotlin.Int? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.emr.model.ModifyClusterResponse) : this() {
this.stepConcurrencyLevel = x.stepConcurrencyLevel
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.emr.model.ModifyClusterResponse = ModifyClusterResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy