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

com.pulumi.awsnative.datazone.kotlin.outputs.GetEnvironmentResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.datazone.kotlin.outputs

import com.pulumi.awsnative.datazone.kotlin.enums.EnvironmentStatus
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property awsAccountId The AWS account in which the Amazon DataZone environment is created.
 * @property awsAccountRegion The AWS region in which the Amazon DataZone environment is created.
 * @property createdAt The timestamp of when the environment was created.
 * @property createdBy The Amazon DataZone user who created the environment.
 * @property description The description of the Amazon DataZone environment.
 * @property domainId The identifier of the Amazon DataZone domain in which the environment is created.
 * @property environmentBlueprintId The ID of the blueprint with which the Amazon DataZone environment was created.
 * @property environmentProfileId The ID of the environment profile with which the Amazon DataZone environment was created.
 * @property glossaryTerms The glossary terms that can be used in the Amazon DataZone environment.
 * @property id The ID of the Amazon DataZone environment.
 * @property name The name of the environment.
 * @property projectId The ID of the Amazon DataZone project in which the environment is created.
 * @property provider The provider of the Amazon DataZone environment.
 * @property status The status of the Amazon DataZone environment.
 * @property updatedAt The timestamp of when the environment was updated.
 */
public data class GetEnvironmentResult(
    public val awsAccountId: String? = null,
    public val awsAccountRegion: String? = null,
    public val createdAt: String? = null,
    public val createdBy: String? = null,
    public val description: String? = null,
    public val domainId: String? = null,
    public val environmentBlueprintId: String? = null,
    public val environmentProfileId: String? = null,
    public val glossaryTerms: List? = null,
    public val id: String? = null,
    public val name: String? = null,
    public val projectId: String? = null,
    public val provider: String? = null,
    public val status: EnvironmentStatus? = null,
    public val updatedAt: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.datazone.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
            awsAccountId = javaType.awsAccountId().map({ args0 -> args0 }).orElse(null),
            awsAccountRegion = javaType.awsAccountRegion().map({ args0 -> args0 }).orElse(null),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            createdBy = javaType.createdBy().map({ args0 -> args0 }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            domainId = javaType.domainId().map({ args0 -> args0 }).orElse(null),
            environmentBlueprintId = javaType.environmentBlueprintId().map({ args0 -> args0 }).orElse(null),
            environmentProfileId = javaType.environmentProfileId().map({ args0 -> args0 }).orElse(null),
            glossaryTerms = javaType.glossaryTerms().map({ args0 -> args0 }),
            id = javaType.id().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
            provider = javaType.provider().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.datazone.kotlin.enums.EnvironmentStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy