commonMain.aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeServiceConfiguration.kt Maven / Gradle / Ivy
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrockagent.model
/**
* Contains configurations for the service to use for storing the input into the node.
*/
public sealed class StorageFlowNodeServiceConfiguration {
/**
* Contains configurations for the Amazon S3 location in which to store the input into the node.
*/
public data class S3(val value: aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeS3Configuration) : aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeServiceConfiguration() {
}
public object SdkUnknown : aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeServiceConfiguration() {
}
/**
* Casts this [StorageFlowNodeServiceConfiguration] as a [S3] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeS3Configuration] value. Throws an exception if the [StorageFlowNodeServiceConfiguration] is not a
* [S3].
*/
public fun asS3(): aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeS3Configuration = (this as StorageFlowNodeServiceConfiguration.S3).value
/**
* Casts this [StorageFlowNodeServiceConfiguration] as a [S3] and retrieves its [aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeS3Configuration] value. Returns null if the [StorageFlowNodeServiceConfiguration] is not a [S3].
*/
public fun asS3OrNull(): aws.sdk.kotlin.services.bedrockagent.model.StorageFlowNodeS3Configuration? = (this as? StorageFlowNodeServiceConfiguration.S3)?.value
}