
com.pulumi.awsnative.sagemaker.kotlin.outputs.GetInferenceComponentResult.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.sagemaker.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.sagemaker.kotlin.enums.InferenceComponentStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property creationTime The time when the inference component was created.
* @property endpointArn The Amazon Resource Name (ARN) of the endpoint that hosts the inference component.
* @property endpointName The name of the endpoint that hosts the inference component.
* @property failureReason
* @property inferenceComponentArn The Amazon Resource Name (ARN) of the inference component.
* @property inferenceComponentName The name of the inference component.
* @property inferenceComponentStatus The status of the inference component.
* @property lastModifiedTime The time when the inference component was last updated.
* @property runtimeConfig
* @property specification
* @property tags
* @property variantName The name of the production variant that hosts the inference component.
*/
public data class GetInferenceComponentResult(
public val creationTime: String? = null,
public val endpointArn: String? = null,
public val endpointName: String? = null,
public val failureReason: String? = null,
public val inferenceComponentArn: String? = null,
public val inferenceComponentName: String? = null,
public val inferenceComponentStatus: InferenceComponentStatus? = null,
public val lastModifiedTime: String? = null,
public val runtimeConfig: InferenceComponentRuntimeConfig? = null,
public val specification: InferenceComponentSpecification? = null,
public val tags: List? = null,
public val variantName: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.GetInferenceComponentResult): GetInferenceComponentResult = GetInferenceComponentResult(
creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
endpointArn = javaType.endpointArn().map({ args0 -> args0 }).orElse(null),
endpointName = javaType.endpointName().map({ args0 -> args0 }).orElse(null),
failureReason = javaType.failureReason().map({ args0 -> args0 }).orElse(null),
inferenceComponentArn = javaType.inferenceComponentArn().map({ args0 -> args0 }).orElse(null),
inferenceComponentName = javaType.inferenceComponentName().map({ args0 -> args0 }).orElse(null),
inferenceComponentStatus = javaType.inferenceComponentStatus().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.enums.InferenceComponentStatus.Companion.toKotlin(args0)
})
}).orElse(null),
lastModifiedTime = javaType.lastModifiedTime().map({ args0 -> args0 }).orElse(null),
runtimeConfig = javaType.runtimeConfig().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentRuntimeConfig.Companion.toKotlin(args0)
})
}).orElse(null),
specification = javaType.specification().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.sagemaker.kotlin.outputs.InferenceComponentSpecification.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
variantName = javaType.variantName().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy