
commonMain.aws.sdk.kotlin.services.ssmsap.model.UpdateApplicationSettingsResponse.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.ssmsap.model
import aws.smithy.kotlin.runtime.SdkDsl
public class UpdateApplicationSettingsResponse private constructor(builder: Builder) {
/**
* The update message.
*/
public val message: kotlin.String? = builder.message
/**
* The IDs of the operations.
*/
public val operationIds: List? = builder.operationIds
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.ssmsap.model.UpdateApplicationSettingsResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("UpdateApplicationSettingsResponse(")
append("message=$message,")
append("operationIds=$operationIds")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = message?.hashCode() ?: 0
result = 31 * result + (operationIds?.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 UpdateApplicationSettingsResponse
if (message != other.message) return false
if (operationIds != other.operationIds) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.ssmsap.model.UpdateApplicationSettingsResponse = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* The update message.
*/
public var message: kotlin.String? = null
/**
* The IDs of the operations.
*/
public var operationIds: List? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.ssmsap.model.UpdateApplicationSettingsResponse) : this() {
this.message = x.message
this.operationIds = x.operationIds
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.ssmsap.model.UpdateApplicationSettingsResponse = UpdateApplicationSettingsResponse(this)
internal fun correctErrors(): Builder {
return this
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy