com.pulumi.awsnative.glue.kotlin.outputs.GetSchemaResult.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.glue.kotlin.outputs
import com.pulumi.awsnative.glue.kotlin.enums.SchemaCompatibility
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn Amazon Resource Name for the Schema.
* @property checkpointVersion Specify the `VersionNumber` or the `IsLatest` for setting the checkpoint for the schema. This is only required for updating a checkpoint.
* @property compatibility Compatibility setting for the schema.
* @property description A description of the schema. If description is not provided, there will not be any default value for this.
* @property initialSchemaVersionId Represents the version ID associated with the initial schema version.
* @property tags List of tags to tag the schema
*/
public data class GetSchemaResult(
public val arn: String? = null,
public val checkpointVersion: SchemaVersion? = null,
public val compatibility: SchemaCompatibility? = null,
public val description: String? = null,
public val initialSchemaVersionId: String? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.glue.outputs.GetSchemaResult): GetSchemaResult = GetSchemaResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
checkpointVersion = javaType.checkpointVersion().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.outputs.SchemaVersion.Companion.toKotlin(args0)
})
}).orElse(null),
compatibility = javaType.compatibility().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.glue.kotlin.enums.SchemaCompatibility.Companion.toKotlin(args0)
})
}).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
initialSchemaVersionId = javaType.initialSchemaVersionId().map({ args0 -> args0 }).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}