commonMain.aws.sdk.kotlin.services.datapipeline.model.DescribePipelinesRequest.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datapipeline-jvm Show documentation
Show all versions of datapipeline-jvm Show documentation
The AWS SDK for Kotlin client for Data Pipeline
The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.datapipeline.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Contains the parameters for DescribePipelines.
*/
public class DescribePipelinesRequest private constructor(builder: Builder) {
/**
* The IDs of the pipelines to describe. You can pass as many as 25 identifiers in a single call. To obtain pipeline IDs, call ListPipelines.
*/
public val pipelineIds: List? = builder.pipelineIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datapipeline.model.DescribePipelinesRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribePipelinesRequest(")
append("pipelineIds=$pipelineIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = pipelineIds?.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 DescribePipelinesRequest
if (pipelineIds != other.pipelineIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datapipeline.model.DescribePipelinesRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The IDs of the pipelines to describe. You can pass as many as 25 identifiers in a single call. To obtain pipeline IDs, call ListPipelines.
*/
public var pipelineIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datapipeline.model.DescribePipelinesRequest) : this() {
this.pipelineIds = x.pipelineIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datapipeline.model.DescribePipelinesRequest = DescribePipelinesRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy