commonMain.aws.sdk.kotlin.services.datapipeline.model.DescribeObjectsRequest.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 DescribeObjects.
*/
public class DescribeObjectsRequest private constructor(builder: Builder) {
/**
* Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
*/
public val evaluateExpressions: kotlin.Boolean? = builder.evaluateExpressions
/**
* The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call `DescribeObjects` with the marker value from the previous call to retrieve the next set of results.
*/
public val marker: kotlin.String? = builder.marker
/**
* The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to `DescribeObjects`.
*/
public val objectIds: List? = builder.objectIds
/**
* The ID of the pipeline that contains the object definitions.
*/
public val pipelineId: kotlin.String? = builder.pipelineId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.datapipeline.model.DescribeObjectsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DescribeObjectsRequest(")
append("evaluateExpressions=$evaluateExpressions,")
append("marker=$marker,")
append("objectIds=$objectIds,")
append("pipelineId=$pipelineId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = evaluateExpressions?.hashCode() ?: 0
result = 31 * result + (marker?.hashCode() ?: 0)
result = 31 * result + (objectIds?.hashCode() ?: 0)
result = 31 * result + (pipelineId?.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 DescribeObjectsRequest
if (evaluateExpressions != other.evaluateExpressions) return false
if (marker != other.marker) return false
if (objectIds != other.objectIds) return false
if (pipelineId != other.pipelineId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.datapipeline.model.DescribeObjectsRequest = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Indicates whether any expressions in the object should be evaluated when the object descriptions are returned.
*/
public var evaluateExpressions: kotlin.Boolean? = null
/**
* The starting point for the results to be returned. For the first call, this value should be empty. As long as there are more results, continue to call `DescribeObjects` with the marker value from the previous call to retrieve the next set of results.
*/
public var marker: kotlin.String? = null
/**
* The IDs of the pipeline objects that contain the definitions to be described. You can pass as many as 25 identifiers in a single call to `DescribeObjects`.
*/
public var objectIds: List? = null
/**
* The ID of the pipeline that contains the object definitions.
*/
public var pipelineId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.datapipeline.model.DescribeObjectsRequest) : this() {
this.evaluateExpressions = x.evaluateExpressions
this.marker = x.marker
this.objectIds = x.objectIds
this.pipelineId = x.pipelineId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.datapipeline.model.DescribeObjectsRequest = DescribeObjectsRequest(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy