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