commonMain.aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeConfiguration.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bedrockagent-jvm Show documentation
Show all versions of bedrockagent-jvm Show documentation
The AWS SDK for Kotlin client for Bedrock Agent
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrockagent.model
import aws.smithy.kotlin.runtime.SdkDsl
/**
* Contains configurations for a Storage node in a flow. This node stores the input in an Amazon S3 location that you specify.
*/
public class StorageFlowNodeConfiguration private constructor(builder: Builder) {
/**
* Contains configurations for the service to use for storing the input into the node.
*/
public val serviceConfiguration: aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeServiceConfiguration? = builder.serviceConfiguration
public companion object {
public operator fun invoke(block: Builder.() -> kotlin.Unit): aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeConfiguration = Builder().apply(block).build()
}
override fun toString(): kotlin.String = buildString {
append("StorageFlowNodeConfiguration(")
append("serviceConfiguration=$serviceConfiguration")
append(")")
}
override fun hashCode(): kotlin.Int {
var result = serviceConfiguration?.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 StorageFlowNodeConfiguration
if (serviceConfiguration != other.serviceConfiguration) return false
return true
}
public inline fun copy(block: Builder.() -> kotlin.Unit = {}): aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeConfiguration = Builder(this).apply(block).build()
@SdkDsl
public class Builder {
/**
* Contains configurations for the service to use for storing the input into the node.
*/
public var serviceConfiguration: aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeServiceConfiguration? = null
@PublishedApi
internal constructor()
@PublishedApi
internal constructor(x: aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeConfiguration) : this() {
this.serviceConfiguration = x.serviceConfiguration
}
@PublishedApi
internal fun build(): aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeConfiguration = StorageFlowNodeConfiguration(this)
internal fun correctErrors(): Builder {
return this
}
}
}