
com.pulumi.awsnative.scheduler.kotlin.outputs.GetScheduleGroupResult.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.scheduler.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import com.pulumi.awsnative.scheduler.kotlin.enums.ScheduleGroupState
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The Amazon Resource Name (ARN) of the schedule group.
* @property creationDate The time at which the schedule group was created.
* @property lastModificationDate The time at which the schedule group was last modified.
* @property state Specifies the state of the schedule group.
* *Allowed Values* : `ACTIVE` | `DELETING`
* @property tags The list of tags to associate with the schedule group.
*/
public data class GetScheduleGroupResult(
public val arn: String? = null,
public val creationDate: String? = null,
public val lastModificationDate: String? = null,
public val state: ScheduleGroupState? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.scheduler.outputs.GetScheduleGroupResult): GetScheduleGroupResult = GetScheduleGroupResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
creationDate = javaType.creationDate().map({ args0 -> args0 }).orElse(null),
lastModificationDate = javaType.lastModificationDate().map({ args0 -> args0 }).orElse(null),
state = javaType.state().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.scheduler.kotlin.enums.ScheduleGroupState.Companion.toKotlin(args0)
})
}).orElse(null),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy