com.pulumi.awsnative.fms.kotlin.outputs.GetResourceSetResult.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.fms.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property description A description of the resource set.
* @property id A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
* @property name The descriptive name of the resource set. You can't change the name of a resource set after you create it.
* @property resourceTypeList Determines the resources that can be associated to the resource set. Depending on your setting for max results and the number of resource sets, a single call might not return the full list.
* @property resources
* @property tags
*/
public data class GetResourceSetResult(
public val description: String? = null,
public val id: String? = null,
public val name: String? = null,
public val resourceTypeList: List? = null,
public val resources: List? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.fms.outputs.GetResourceSetResult): GetResourceSetResult = GetResourceSetResult(
description = javaType.description().map({ args0 -> args0 }).orElse(null),
id = javaType.id().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
resourceTypeList = javaType.resourceTypeList().map({ args0 -> args0 }),
resources = javaType.resources().map({ args0 -> args0 }),
tags = javaType.tags().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
})
}),
)
}
}