aws.sdk.kotlin.services.sagemaker.model.LambdaStepMetadata.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.sagemaker.model
/**
* Metadata for a Lambda step.
*/
class LambdaStepMetadata private constructor(builder: Builder) {
/**
* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution.
*/
val arn: kotlin.String? = builder.arn
/**
* A list of the output parameters of the Lambda step.
*/
val outputParameters: List? = builder.outputParameters
companion object {
operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.sagemaker.model.LambdaStepMetadata = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("LambdaStepMetadata(")
append("arn=$arn,")
append("outputParameters=$outputParameters)")
}
override fun hashCode(): kotlin.Int {
var result = arn?.hashCode() ?: 0
result = 31 * result + (outputParameters?.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 LambdaStepMetadata
if (arn != other.arn) return false
if (outputParameters != other.outputParameters) return false
return true
}
inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.sagemaker.model.LambdaStepMetadata = Builder(this).apply(block).build()
class Builder {
/**
* The Amazon Resource Name (ARN) of the Lambda function that was run by this step execution.
*/
var arn: kotlin.String? = null
/**
* A list of the output parameters of the Lambda step.
*/
var outputParameters: List? = null
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.sagemaker.model.LambdaStepMetadata) : this() {
this.arn = x.arn
this.outputParameters = x.outputParameters
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.sagemaker.model.LambdaStepMetadata = LambdaStepMetadata(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy