
com.pulumi.awsnative.timestream.kotlin.outputs.GetTableResult.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.timestream.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The `arn` of the table.
* @property magneticStoreWriteProperties The properties that determine whether magnetic store writes are enabled.
* @property name The table name exposed as a read-only attribute.
* @property retentionProperties The retention duration of the memory store and the magnetic store.
* @property schema A Schema specifies the expected data model of the table.
* @property tags An array of key-value pairs to apply to this resource.
*/
public data class GetTableResult(
public val arn: String? = null,
public val magneticStoreWriteProperties: MagneticStoreWritePropertiesProperties? = null,
public val name: String? = null,
public val retentionProperties: RetentionPropertiesProperties? = null,
public val schema: SchemaProperties? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.timestream.outputs.GetTableResult): GetTableResult = GetTableResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
magneticStoreWriteProperties = javaType.magneticStoreWriteProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.MagneticStoreWritePropertiesProperties.Companion.toKotlin(args0)
})
}).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
retentionProperties = javaType.retentionProperties().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.RetentionPropertiesProperties.Companion.toKotlin(args0)
})
}).orElse(null),
schema = javaType.schema().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.timestream.kotlin.outputs.SchemaProperties.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy