
commonMain.aws.sdk.kotlin.services.macie.model.DisassociateS3ResourcesResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.macie.model
public class DisassociateS3ResourcesResponse private constructor(builder: Builder) {
/**
* (Discontinued) S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.
*/
public val failedS3Resources: List? = builder.failedS3Resources
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.macie.model.DisassociateS3ResourcesResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DisassociateS3ResourcesResponse(")
append("failedS3Resources=$failedS3Resources")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = failedS3Resources?.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 DisassociateS3ResourcesResponse
if (failedS3Resources != other.failedS3Resources) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.macie.model.DisassociateS3ResourcesResponse = Builder(this).apply(block).build()
public class Builder {
/**
* (Discontinued) S3 resources that couldn't be removed from being monitored and classified by Amazon Macie Classic. An error code and an error message are provided for each failed item.
*/
public var failedS3Resources: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.macie.model.DisassociateS3ResourcesResponse) : this() {
this.failedS3Resources = x.failedS3Resources
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.macie.model.DisassociateS3ResourcesResponse = DisassociateS3ResourcesResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy