commonMain.aws.sdk.kotlin.services.bedrock.model.EvaluationModelConfig.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bedrock-jvm Show documentation
Show all versions of bedrock-jvm Show documentation
The AWS SDK for Kotlin client for Bedrock
// Code generated by smithy-kotlin-codegen. DO NOT EDIT!
package aws.sdk.kotlin.services.bedrock.model
/**
* Defines the models used in the model evaluation job.
*/
public sealed class EvaluationModelConfig {
/**
* Defines the Amazon Bedrock model and inference parameters you want used.
*/
public data class BedrockModel(val value: aws.sdk.kotlin.services.bedrock.model.EvaluationBedrockModel) : aws.sdk.kotlin.services.bedrock.model.EvaluationModelConfig() {
}
public object SdkUnknown : aws.sdk.kotlin.services.bedrock.model.EvaluationModelConfig() {
}
/**
* Casts this [EvaluationModelConfig] as a [BedrockModel] and retrieves its [aws.sdk.kotlin.services.bedrock.model.EvaluationBedrockModel] value. Throws an exception if the [EvaluationModelConfig] is not a
* [BedrockModel].
*/
public fun asBedrockModel(): aws.sdk.kotlin.services.bedrock.model.EvaluationBedrockModel = (this as EvaluationModelConfig.BedrockModel).value
/**
* Casts this [EvaluationModelConfig] as a [BedrockModel] and retrieves its [aws.sdk.kotlin.services.bedrock.model.EvaluationBedrockModel] value. Returns null if the [EvaluationModelConfig] is not a [BedrockModel].
*/
public fun asBedrockModelOrNull(): aws.sdk.kotlin.services.bedrock.model.EvaluationBedrockModel? = (this as? EvaluationModelConfig.BedrockModel)?.value
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy