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

com.pulumi.awsnative.qbusiness.kotlin.outputs.GetRetrieverResult.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.qbusiness.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.qbusiness.kotlin.enums.RetrieverStatus
import com.pulumi.core.Either
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property configuration Provides information on how the retriever used for your Amazon Q Business application is configured.
 * @property createdAt The Unix timestamp when the retriever was created.
 * @property displayName The name of your retriever.
 * @property retrieverArn The Amazon Resource Name (ARN) of the IAM role associated with the retriever.
 * @property retrieverId The identifier of the retriever used by your Amazon Q Business application.
 * @property roleArn The ARN of an IAM role used by Amazon Q Business to access the basic authentication credentials stored in a Secrets Manager secret.
 * @property status The status of your retriever.
 * @property tags A list of key-value pairs that identify or categorize the retriever. You can also use tags to help control access to the retriever. Tag keys and values can consist of Unicode letters, digits, white space, and any of the following symbols: _ . : / = + - @.
 * @property updatedAt The Unix timestamp when the retriever was last updated.
 */
public data class GetRetrieverResult(
    public val configuration: Either? = null,
    public val createdAt: String? = null,
    public val displayName: String? = null,
    public val retrieverArn: String? = null,
    public val retrieverId: String? = null,
    public val roleArn: String? = null,
    public val status: RetrieverStatus? = null,
    public val tags: List? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.GetRetrieverResult): GetRetrieverResult = GetRetrieverResult(
            configuration = javaType.configuration().map({ args0 ->
                args0.transform(
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.qbusiness.kotlin.outputs.RetrieverConfiguration0Properties.Companion.toKotlin(args0)
                        })
                    },
                    { args0 ->
                        args0.let({ args0 ->
                            com.pulumi.awsnative.qbusiness.kotlin.outputs.RetrieverConfiguration1Properties.Companion.toKotlin(args0)
                        })
                    },
                )
            }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            retrieverArn = javaType.retrieverArn().map({ args0 -> args0 }).orElse(null),
            retrieverId = javaType.retrieverId().map({ args0 -> args0 }).orElse(null),
            roleArn = javaType.roleArn().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.qbusiness.kotlin.enums.RetrieverStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy