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

aws.sdk.kotlin.services.configservice.model.PutRemediationExceptionsResponse.kt Maven / Gradle / Ivy

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

package aws.sdk.kotlin.services.configservice.model



class PutRemediationExceptionsResponse private constructor(builder: Builder) {
    /**
     * Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
     */
    val failedBatches: List? = builder.failedBatches

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

    override fun toString(): kotlin.String = buildString {
        append("PutRemediationExceptionsResponse(")
        append("failedBatches=$failedBatches)")
    }

    override fun hashCode(): kotlin.Int {
        var result = failedBatches?.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 PutRemediationExceptionsResponse

        if (failedBatches != other.failedBatches) return false

        return true
    }

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

    class Builder {
        /**
         * Returns a list of failed remediation exceptions batch objects. Each object in the batch consists of a list of failed items and failure messages.
         */
        var failedBatches: List? = null

        internal constructor()
        @PublishedApi
        internal constructor(x: aws.sdk.kotlin.services.configservice.model.PutRemediationExceptionsResponse) : this() {
            this.failedBatches = x.failedBatches
        }

        @PublishedApi
        internal fun build(): aws.sdk.kotlin.services.configservice.model.PutRemediationExceptionsResponse = PutRemediationExceptionsResponse(this)
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy