commonMain.aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of databrew-jvm Show documentation
Show all versions of databrew-jvm Show documentation
The AWS Kotlin client for DataBrew
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.databrew.model
public class SendProjectSessionActionResponse private constructor(builder: Builder) {
/**
* A unique identifier for the action that was performed.
*/
public val actionId: kotlin.Int? = builder.actionId
/**
* The name of the project that was affected by the action.
*/
public val name: kotlin.String? = builder.name
/**
* A message indicating the result of performing the action.
*/
public val result: kotlin.String? = builder.result
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("SendProjectSessionActionResponse(")
append("actionId=$actionId,")
append("name=$name,")
append("result=$result)")
}
override fun hashCode(): kotlin.Int {
var result = actionId ?: 0
result = 31 * result + (name?.hashCode() ?: 0)
result = 31 * result + (result?.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 SendProjectSessionActionResponse
if (actionId != other.actionId) return false
if (name != other.name) return false
if (result != other.result) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse = Builder(this).apply(block).build()
public class Builder {
/**
* A unique identifier for the action that was performed.
*/
public var actionId: kotlin.Int? = null
/**
* The name of the project that was affected by the action.
*/
public var name: kotlin.String? = null
/**
* A message indicating the result of performing the action.
*/
public var result: kotlin.String? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse) : this() {
this.actionId = x.actionId
this.name = x.name
this.result = x.result
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.databrew.model.SendProjectSessionActionResponse = SendProjectSessionActionResponse(this)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy