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

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

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

package com.pulumi.awsnative.finspace.kotlin.outputs

import com.pulumi.awsnative.finspace.kotlin.enums.EnvironmentFederationMode
import com.pulumi.awsnative.finspace.kotlin.enums.EnvironmentStatus
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property awsAccountId AWS account ID associated with the Environment
 * @property dedicatedServiceAccountId ID for FinSpace created account used to store Environment artifacts
 * @property description Description of the Environment
 * @property environmentArn ARN of the Environment
 * @property environmentId Unique identifier for representing FinSpace Environment
 * @property environmentUrl URL used to login to the Environment
 * @property federationMode Federation mode used with the Environment
 * @property name Name of the Environment
 * @property sageMakerStudioDomainUrl SageMaker Studio Domain URL associated with the Environment
 * @property status State of the Environment
 */
public data class GetEnvironmentResult(
    public val awsAccountId: String? = null,
    public val dedicatedServiceAccountId: String? = null,
    public val description: String? = null,
    public val environmentArn: String? = null,
    public val environmentId: String? = null,
    public val environmentUrl: String? = null,
    public val federationMode: EnvironmentFederationMode? = null,
    public val name: String? = null,
    public val sageMakerStudioDomainUrl: String? = null,
    public val status: EnvironmentStatus? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.finspace.outputs.GetEnvironmentResult): GetEnvironmentResult = GetEnvironmentResult(
            awsAccountId = javaType.awsAccountId().map({ args0 -> args0 }).orElse(null),
            dedicatedServiceAccountId = javaType.dedicatedServiceAccountId().map({ args0 ->
                args0
            }).orElse(null),
            description = javaType.description().map({ args0 -> args0 }).orElse(null),
            environmentArn = javaType.environmentArn().map({ args0 -> args0 }).orElse(null),
            environmentId = javaType.environmentId().map({ args0 -> args0 }).orElse(null),
            environmentUrl = javaType.environmentUrl().map({ args0 -> args0 }).orElse(null),
            federationMode = javaType.federationMode().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.finspace.kotlin.enums.EnvironmentFederationMode.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            sageMakerStudioDomainUrl = javaType.sageMakerStudioDomainUrl().map({ args0 -> args0 }).orElse(null),
            status = javaType.status().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.finspace.kotlin.enums.EnvironmentStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy