
commonMain.aws.sdk.kotlin.services.rolesanywhere.model.ResetNotificationSettingsRequest.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.rolesanywhere.model
public class ResetNotificationSettingsRequest private constructor(builder: Builder) {
/**
* A list of notification setting keys to reset. A notification setting key includes the event and the channel.
*/
public val notificationSettingKeys: List? = builder.notificationSettingKeys
/**
* The unique identifier of the trust anchor.
*/
public val trustAnchorId: kotlin.String? = builder.trustAnchorId
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.rolesanywhere.model.ResetNotificationSettingsRequest = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("ResetNotificationSettingsRequest(")
append("notificationSettingKeys=$notificationSettingKeys,")
append("trustAnchorId=$trustAnchorId")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = notificationSettingKeys?.hashCode() ?: 0
result = 31 * result + (trustAnchorId?.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 ResetNotificationSettingsRequest
if (notificationSettingKeys != other.notificationSettingKeys) return false
if (trustAnchorId != other.trustAnchorId) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.rolesanywhere.model.ResetNotificationSettingsRequest = Builder(this).apply(block).build()
public class Builder {
/**
* A list of notification setting keys to reset. A notification setting key includes the event and the channel.
*/
public var notificationSettingKeys: List? = null
/**
* The unique identifier of the trust anchor.
*/
public var trustAnchorId: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.rolesanywhere.model.ResetNotificationSettingsRequest) : this() {
this.notificationSettingKeys = x.notificationSettingKeys
this.trustAnchorId = x.trustAnchorId
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.rolesanywhere.model.ResetNotificationSettingsRequest = ResetNotificationSettingsRequest(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy