![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.qbusiness.kotlin.outputs.GetIndexResult.kt Maven / Gradle / Ivy
@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.IndexStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property capacityConfiguration The capacity units you want to provision for your index. You can add and remove capacity to fit your usage needs.
* @property createdAt The Unix timestamp when the index was created.
* @property description A description for the Amazon Q Business index.
* @property displayName The name of the index.
* @property documentAttributeConfigurations Configuration information for document attributes. Document attributes are metadata or fields associated with your documents. For example, the company department name associated with each document.
* For more information, see [Understanding document attributes](https://docs.aws.amazon.com/amazonq/latest/business-use-dg/doc-attributes.html) .
* @property indexArn The Amazon Resource Name (ARN) of an Amazon Q Business index.
* @property indexId The identifier for the index.
* @property indexStatistics
* @property status The current status of the index. When the status is `ACTIVE` , the index is ready.
* @property tags A list of key-value pairs that identify or categorize the index. You can also use tags to help control access to the index. 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 index was last updated.
*/
public data class GetIndexResult(
public val capacityConfiguration: IndexCapacityConfiguration? = null,
public val createdAt: String? = null,
public val description: String? = null,
public val displayName: String? = null,
public val documentAttributeConfigurations: List? = null,
public val indexArn: String? = null,
public val indexId: String? = null,
public val indexStatistics: IndexStatistics? = null,
public val status: IndexStatus? = null,
public val tags: List? = null,
public val updatedAt: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.qbusiness.outputs.GetIndexResult): GetIndexResult = GetIndexResult(
capacityConfiguration = javaType.capacityConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.outputs.IndexCapacityConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
documentAttributeConfigurations = javaType.documentAttributeConfigurations().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.outputs.IndexDocumentAttributeConfiguration.Companion.toKotlin(args0)
})
}),
indexArn = javaType.indexArn().map({ args0 -> args0 }).orElse(null),
indexId = javaType.indexId().map({ args0 -> args0 }).orElse(null),
indexStatistics = javaType.indexStatistics().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.outputs.IndexStatistics.Companion.toKotlin(args0)
})
}).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.qbusiness.kotlin.enums.IndexStatus.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