com.pulumi.awsnative.connect.kotlin.outputs.GetEvaluationFormResult.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.connect.kotlin.outputs
import com.pulumi.awsnative.connect.kotlin.enums.EvaluationFormStatus
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description The description of the evaluation form.
* *Length Constraints*: Minimum length of 0. Maximum length of 1024.
* @property evaluationFormArn The Amazon Resource Name (ARN) of the evaluation form.
* @property instanceArn The identifier of the Amazon Connect instance.
* @property items Items that are part of the evaluation form. The total number of sections and questions must not exceed 100 each. Questions must be contained in a section.
* *Minimum size*: 1
* *Maximum size*: 100
* @property scoringStrategy A scoring strategy of the evaluation form.
* @property status The status of the evaluation form.
* *Allowed values*: ``DRAFT`` | ``ACTIVE``
* @property tags The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.
* @property title A title of the evaluation form.
*/
public data class GetEvaluationFormResult(
public val description: String? = null,
public val evaluationFormArn: String? = null,
public val instanceArn: String? = null,
public val items: List? = null,
public val scoringStrategy: EvaluationFormScoringStrategy? = null,
public val status: EvaluationFormStatus? = null,
public val tags: List? = null,
public val title: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.connect.outputs.GetEvaluationFormResult): GetEvaluationFormResult = GetEvaluationFormResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
evaluationFormArn = javaType.evaluationFormArn().map({ args0 -> args0 }).orElse(null),
instanceArn = javaType.instanceArn().map({ args0 -> args0 }).orElse(null),
items = javaType.items().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormBaseItem.Companion.toKotlin(args0)
})
}),
scoringStrategy = javaType.scoringStrategy().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.outputs.EvaluationFormScoringStrategy.Companion.toKotlin(args0)
})
}).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.connect.kotlin.enums.EvaluationFormStatus.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
title = javaType.title().map({ args0 -> args0 }).orElse(null),
)
}
}