![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.opensearchserverless.kotlin.outputs.GetCollectionResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.opensearchserverless.kotlin.outputs
import com.pulumi.awsnative.opensearchserverless.kotlin.enums.CollectionStandbyReplicas
import kotlin.String
import kotlin.Suppress
/**
*
* @property arn The Amazon Resource Name (ARN) of the collection.
* @property collectionEndpoint The endpoint for the collection.
* @property dashboardEndpoint The OpenSearch Dashboards endpoint for the collection.
* @property description The description of the collection
* @property id The identifier of the collection
* @property standbyReplicas Indicates whether to use standby replicas for the collection. You can't update this property after the collection is already created. If you attempt to modify this property, the collection continues to use the original value.
*/
public data class GetCollectionResult(
public val arn: String? = null,
public val collectionEndpoint: String? = null,
public val dashboardEndpoint: String? = null,
public val description: String? = null,
public val id: String? = null,
public val standbyReplicas: CollectionStandbyReplicas? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.opensearchserverless.outputs.GetCollectionResult): GetCollectionResult = GetCollectionResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
collectionEndpoint = javaType.collectionEndpoint().map({ args0 -> args0 }).orElse(null),
dashboardEndpoint = javaType.dashboardEndpoint().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
standbyReplicas = javaType.standbyReplicas().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.opensearchserverless.kotlin.enums.CollectionStandbyReplicas.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy