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

com.pulumi.awsnative.sagemaker.kotlin.outputs.GetProjectResult.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.sagemaker.kotlin.outputs

import com.pulumi.awsnative.sagemaker.kotlin.enums.ProjectStatus
import kotlin.String
import kotlin.Suppress

/**
 *
 * @property creationTime The time at which the project was created.
 * @property projectArn The Amazon Resource Name (ARN) of the project.
 * @property projectId The ID of the project. This ID is prepended to all entities associated with this project.
 * @property projectStatus The status of a project.
 * @property serviceCatalogProvisionedProductDetails Provisioned ServiceCatalog  Details
 */
public data class GetProjectResult(
    public val creationTime: String? = null,
    public val projectArn: String? = null,
    public val projectId: String? = null,
    public val projectStatus: ProjectStatus? = null,
    public val serviceCatalogProvisionedProductDetails: ServiceCatalogProvisionedProductDetailsProperties? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.sagemaker.outputs.GetProjectResult): GetProjectResult = GetProjectResult(
            creationTime = javaType.creationTime().map({ args0 -> args0 }).orElse(null),
            projectArn = javaType.projectArn().map({ args0 -> args0 }).orElse(null),
            projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
            projectStatus = javaType.projectStatus().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.enums.ProjectStatus.Companion.toKotlin(args0)
                })
            }).orElse(null),
            serviceCatalogProvisionedProductDetails = javaType.serviceCatalogProvisionedProductDetails().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.sagemaker.kotlin.outputs.ServiceCatalogProvisionedProductDetailsProperties.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy