![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.datazone.kotlin.outputs.GetDataSourceResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.datazone.kotlin.outputs
import com.pulumi.awsnative.datazone.kotlin.enums.DataSourceEnableSetting
import com.pulumi.awsnative.datazone.kotlin.enums.DataSourceStatus
import kotlin.Boolean
import kotlin.Double
import kotlin.String
import kotlin.Suppress
/**
*
* @property createdAt The timestamp of when the data source was created.
* @property description The description of the data source.
* @property domainId The ID of the Amazon DataZone domain where the data source is created.
* @property enableSetting Specifies whether the data source is enabled.
* @property environmentId The unique identifier of the Amazon DataZone environment to which the data source publishes assets.
* @property id The unique identifier of the data source.
* @property lastRunAssetCount The number of assets created by the data source during its last run.
* @property lastRunAt The timestamp that specifies when the data source was last run.
* @property lastRunStatus The status of the last run of this data source.
* @property name The name of the data source.
* @property projectId The ID of the Amazon DataZone project to which the data source is added.
* @property publishOnImport Specifies whether the assets that this data source creates in the inventory are to be also automatically published to the catalog.
* @property recommendation Specifies whether the business name generation is to be enabled for this data source.
* @property schedule The schedule of the data source runs.
* @property status The status of the data source.
* @property updatedAt The timestamp of when this data source was updated.
*/
public data class GetDataSourceResult(
public val createdAt: String? = null,
public val description: String? = null,
public val domainId: String? = null,
public val enableSetting: DataSourceEnableSetting? = null,
public val environmentId: String? = null,
public val id: String? = null,
public val lastRunAssetCount: Double? = null,
public val lastRunAt: String? = null,
public val lastRunStatus: String? = null,
public val name: String? = null,
public val projectId: String? = null,
public val publishOnImport: Boolean? = null,
public val recommendation: DataSourceRecommendationConfiguration? = null,
public val schedule: DataSourceScheduleConfiguration? = null,
public val status: DataSourceStatus? = null,
public val updatedAt: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.datazone.outputs.GetDataSourceResult): GetDataSourceResult = GetDataSourceResult(
createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
domainId = javaType.domainId().map({ args0 -> args0 }).orElse(null),
enableSetting = javaType.enableSetting().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datazone.kotlin.enums.DataSourceEnableSetting.Companion.toKotlin(args0)
})
}).orElse(null),
environmentId = javaType.environmentId().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
lastRunAssetCount = javaType.lastRunAssetCount().map({ args0 -> args0 }).orElse(null),
lastRunAt = javaType.lastRunAt().map({ args0 -> args0 }).orElse(null),
lastRunStatus = javaType.lastRunStatus().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
projectId = javaType.projectId().map({ args0 -> args0 }).orElse(null),
publishOnImport = javaType.publishOnImport().map({ args0 -> args0 }).orElse(null),
recommendation = javaType.recommendation().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datazone.kotlin.outputs.DataSourceRecommendationConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
schedule = javaType.schedule().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datazone.kotlin.outputs.DataSourceScheduleConfiguration.Companion.toKotlin(args0)
})
}).orElse(null),
status = javaType.status().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.datazone.kotlin.enums.DataSourceStatus.Companion.toKotlin(args0)
})
}).orElse(null),
updatedAt = javaType.updatedAt().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy