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