
commonMain.aws.sdk.kotlin.services.macie.model.DisassociateMemberAccountRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.macie.model
public class DisassociateMemberAccountRequest private constructor(builder: Builder) {
/**
* (Discontinued) The ID of the member account that you want to remove from Amazon Macie Classic.
*/
public val memberAccountId: kotlin.String? = builder.memberAccountId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.macie.model.DisassociateMemberAccountRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("DisassociateMemberAccountRequest(")
append("memberAccountId=$memberAccountId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = memberAccountId?.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 DisassociateMemberAccountRequest
if (memberAccountId != other.memberAccountId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.macie.model.DisassociateMemberAccountRequest = Builder(this).apply(block).build()
public class Builder {
/**
* (Discontinued) The ID of the member account that you want to remove from Amazon Macie Classic.
*/
public var memberAccountId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.macie.model.DisassociateMemberAccountRequest) : this() {
this.memberAccountId = x.memberAccountId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.macie.model.DisassociateMemberAccountRequest = DisassociateMemberAccountRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy