aws.sdk.kotlin.services.sagemaker.model.ListPipelineExecutionStepsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
class ListPipelineExecutionStepsRequest private constructor(builder: Builder) {
/**
* The maximum number of pipeline execution steps to return in the response.
*/
val maxResults: kotlin.Int? = builder.maxResults
/**
* If the result of the previous ListPipelineExecutionSteps request was truncated,
* the response includes a NextToken. To retrieve the next set of pipeline execution steps, use the token in the next request.
*/
val nextToken: kotlin.String? = builder.nextToken
/**
* The Amazon Resource Name (ARN) of the pipeline execution.
*/
val pipelineExecutionArn: kotlin.String? = builder.pipelineExecutionArn
/**
* The field by which to sort results. The default is CreatedTime.
*/
val sortOrder: aws.sdk.kotlin.services.sagemaker.model.SortOrder? = builder.sortOrder
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemaker.model.ListPipelineExecutionStepsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ListPipelineExecutionStepsRequest(")
append("maxResults=$maxResults,")
append("nextToken=$nextToken,")
append("pipelineExecutionArn=$pipelineExecutionArn,")
append("sortOrder=$sortOrder)")
}
override fun hashCode(): kotlin.Int {
var result = maxResults ?: 0
result = 31 * result + (nextToken?.hashCode() ?: 0)
result = 31 * result + (pipelineExecutionArn?.hashCode() ?: 0)
result = 31 * result + (sortOrder?.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 ListPipelineExecutionStepsRequest
if (maxResults != other.maxResults) return false
if (nextToken != other.nextToken) return false
if (pipelineExecutionArn != other.pipelineExecutionArn) return false
if (sortOrder != other.sortOrder) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemaker.model.ListPipelineExecutionStepsRequest = Builder(this).apply(block).build()
class Builder {
/**
* The maximum number of pipeline execution steps to return in the response.
*/
var maxResults: kotlin.Int? = null
/**
* If the result of the previous ListPipelineExecutionSteps request was truncated,
* the response includes a NextToken. To retrieve the next set of pipeline execution steps, use the token in the next request.
*/
var nextToken: kotlin.String? = null
/**
* The Amazon Resource Name (ARN) of the pipeline execution.
*/
var pipelineExecutionArn: kotlin.String? = null
/**
* The field by which to sort results. The default is CreatedTime.
*/
var sortOrder: aws.sdk.kotlin.services.sagemaker.model.SortOrder? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemaker.model.ListPipelineExecutionStepsRequest) : this() {
this.maxResults = x.maxResults
this.nextToken = x.nextToken
this.pipelineExecutionArn = x.pipelineExecutionArn
this.sortOrder = x.sortOrder
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemaker.model.ListPipelineExecutionStepsRequest = ListPipelineExecutionStepsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy