
commonMain.aws.sdk.kotlin.services.emr.model.DescribeNotebookExecutionResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.emr.model
public class DescribeNotebookExecutionResponse private constructor(builder: Builder) {
/**
* Properties of the notebook execution.
*/
public val notebookExecution: aws.sdk.kotlin.services.emr.model.NotebookExecution? = builder.notebookExecution
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.emr.model.DescribeNotebookExecutionResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeNotebookExecutionResponse(")
append("notebookExecution=$notebookExecution)")
}
override fun hashCode(): kotlin.Int {
var result = notebookExecution?.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 DescribeNotebookExecutionResponse
if (notebookExecution != other.notebookExecution) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.emr.model.DescribeNotebookExecutionResponse = Builder(this).apply(block).build()
public class Builder {
/**
* Properties of the notebook execution.
*/
public var notebookExecution: aws.sdk.kotlin.services.emr.model.NotebookExecution? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.emr.model.DescribeNotebookExecutionResponse) : this() {
this.notebookExecution = x.notebookExecution
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.emr.model.DescribeNotebookExecutionResponse = DescribeNotebookExecutionResponse(this)
/**
* construct an [aws.sdk.kotlin.services.emr.model.NotebookExecution] inside the given [block]
*/
public fun notebookExecution(block: aws.sdk.kotlin.services.emr.model.NotebookExecution.Builder.() -> kotlin.Unit) {
this.notebookExecution = aws.sdk.kotlin.services.emr.model.NotebookExecution.invoke(block)
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy