commonMain.aws.sdk.kotlin.services.codepipeline.model.GetPipelineExecutionRequest.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
/**
* Represents the input of a `GetPipelineExecution` action.
*/
public class GetPipelineExecutionRequest private constructor(builder: Builder) {
/**
* The ID of the pipeline execution about which you want to get execution details.
*/
public val pipelineExecutionId: kotlin.String? = builder.pipelineExecutionId
/**
* The name of the pipeline about which you want to get execution details.
*/
public val pipelineName: kotlin.String? = builder.pipelineName
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.codepipeline.model.GetPipelineExecutionRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("GetPipelineExecutionRequest(")
append("pipelineExecutionId=$pipelineExecutionId,")
append("pipelineName=$pipelineName")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = pipelineExecutionId?.hashCode() ?: 0
result = 31 * result + (pipelineName?.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 GetPipelineExecutionRequest
if (pipelineExecutionId != other.pipelineExecutionId) return false
if (pipelineName != other.pipelineName) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.codepipeline.model.GetPipelineExecutionRequest = Builder(this).apply(block).build()
public class Builder {
/**
* The ID of the pipeline execution about which you want to get execution details.
*/
public var pipelineExecutionId: kotlin.String? = null
/**
* The name of the pipeline about which you want to get execution details.
*/
public var pipelineName: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.codepipeline.model.GetPipelineExecutionRequest) : this() {
this.pipelineExecutionId = x.pipelineExecutionId
this.pipelineName = x.pipelineName
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.codepipeline.model.GetPipelineExecutionRequest = GetPipelineExecutionRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy