commonMain.aws.sdk.kotlin.services.codepipeline.model.GetThirdPartyJobDetailsResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of codepipeline-jvm Show documentation
Show all versions of codepipeline-jvm Show documentation
The AWS SDK for Kotlin client for CodePipeline
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.codepipeline.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Represents the output of a `GetThirdPartyJobDetails` action.
*/
public class GetThirdPartyJobDetailsResponse private constructor(builder: Builder) {
/**
* The details of the job, including any protected values defined for the job.
*/
public val jobDetails: aws.sdk.kotlin.services.codepipeline.model.ThirdPartyJobDetails? = builder.jobDetails
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codepipeline.model.GetThirdPartyJobDetailsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetThirdPartyJobDetailsResponse(")
append("jobDetails=$jobDetails")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = jobDetails?.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 GetThirdPartyJobDetailsResponse
if (jobDetails != other.jobDetails) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codepipeline.model.GetThirdPartyJobDetailsResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The details of the job, including any protected values defined for the job.
*/
public var jobDetails: aws.sdk.kotlin.services.codepipeline.model.ThirdPartyJobDetails? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codepipeline.model.GetThirdPartyJobDetailsResponse) : this() {
this.jobDetails = x.jobDetails
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codepipeline.model.GetThirdPartyJobDetailsResponse = GetThirdPartyJobDetailsResponse(this)
/**
* construct an [aws.sdk.kotlin.services.codepipeline.model.ThirdPartyJobDetails] inside the given [block]
*/
public fun jobDetails(block: aws.sdk.kotlin.services.codepipeline.model.ThirdPartyJobDetails.Builder.() -> kotlin.Unit) {
this.jobDetails = aws.sdk.kotlin.services.codepipeline.model.ThirdPartyJobDetails.invoke(block)
}
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy