All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.aws.sdk.kotlin.services.databasemigrationservice.model.DescribeReplicationTaskIndividualAssessmentsResponse.kt Maven / Gradle / Ivy

The newest version!
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!

package aws.sdk.kotlin.services.databasemigrationservice.model

import aws.smithy.kotlin.runtime.SdkDsl

/**
 *
 */
public class DescribeReplicationTaskIndividualAssessmentsResponse private constructor(builder: Builder) {
    /**
     * A pagination token returned for you to pass to a subsequent request. If you pass this token as the `Marker` value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by `MaxRecords`.
     */
    public val marker: kotlin.String? = builder.marker
    /**
     * One or more individual assessments as specified by `Filters`.
     */
    public val replicationTaskIndividualAssessments: List? = builder.replicationTaskIndividualAssessments

    public companion object {
        public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeReplicationTaskIndividualAssessmentsResponse = Builder().apply(block).build()
    }

    override fun toString(): kotlin.String = buildString {
        append("DescribeReplicationTaskIndividualAssessmentsResponse(")
        append("marker=$marker,")
        append("replicationTaskIndividualAssessments=$replicationTaskIndividualAssessments")
        append(")")
    }

    override fun hashCode(): kotlin.Int {
        var result = marker?.hashCode() ?: 0
        result = 31 * result + (replicationTaskIndividualAssessments?.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 DescribeReplicationTaskIndividualAssessmentsResponse

        if (marker != other.marker) return false
        if (replicationTaskIndividualAssessments != other.replicationTaskIndividualAssessments) return false

        return true
    }

    public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeReplicationTaskIndividualAssessmentsResponse = Builder(this).apply(block).build()

    @SdkDsl
    public class Builder {
        /**
         * A pagination token returned for you to pass to a subsequent request. If you pass this token as the `Marker` value in a subsequent request, the response includes only records beyond the marker, up to the value specified in the request by `MaxRecords`.
         */
        public var marker: kotlin.String? = null
        /**
         * One or more individual assessments as specified by `Filters`.
         */
        public var replicationTaskIndividualAssessments: List? = null

        @PublishedApi
        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.databasemigrationservice.model.DescribeReplicationTaskIndividualAssessmentsResponse) : this() {
            this.marker = x.marker
            this.replicationTaskIndividualAssessments = x.replicationTaskIndividualAssessments
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.databasemigrationservice.model.DescribeReplicationTaskIndividualAssessmentsResponse = DescribeReplicationTaskIndividualAssessmentsResponse(this)

        internal fun correctErrors(): Builder {
            return this
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy