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