All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.aws.bedrockfoundation.kotlin.outputs.GetModelResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.bedrockfoundation.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 * A collection of values returned by getModel.
 * @property customizationsSupporteds Customizations that the model supports.
 * @property id
 * @property inferenceTypesSupporteds Inference types that the model supports.
 * @property inputModalities Input modalities that the model supports.
 * @property modelArn Model ARN.
 * @property modelId
 * @property modelName Model name.
 * @property outputModalities Output modalities that the model supports.
 * @property providerName Model provider name.
 * @property responseStreamingSupported Indicates whether the model supports streaming.
 */
public data class GetModelResult(
    public val customizationsSupporteds: List,
    public val id: String,
    public val inferenceTypesSupporteds: List,
    public val inputModalities: List,
    public val modelArn: String,
    public val modelId: String,
    public val modelName: String,
    public val outputModalities: List,
    public val providerName: String,
    public val responseStreamingSupported: Boolean,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bedrockfoundation.outputs.GetModelResult): GetModelResult = GetModelResult(
            customizationsSupporteds = javaType.customizationsSupporteds().map({ args0 -> args0 }),
            id = javaType.id(),
            inferenceTypesSupporteds = javaType.inferenceTypesSupporteds().map({ args0 -> args0 }),
            inputModalities = javaType.inputModalities().map({ args0 -> args0 }),
            modelArn = javaType.modelArn(),
            modelId = javaType.modelId(),
            modelName = javaType.modelName(),
            outputModalities = javaType.outputModalities().map({ args0 -> args0 }),
            providerName = javaType.providerName(),
            responseStreamingSupported = javaType.responseStreamingSupported(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy