com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributes.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.apphub.kotlin.outputs
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property businessOwners Business team that ensures user needs are met and value is delivered
* Structure is documented below.
* @property criticality Criticality of the Application, Service, or Workload
* Structure is documented below.
* @property developerOwners Developer team that owns development and coding.
* Structure is documented below.
* @property environment Environment of the Application, Service, or Workload
* Structure is documented below.
* @property operatorOwners Operator team that ensures runtime and operations.
* Structure is documented below.
*/
public data class WorkloadAttributes(
public val businessOwners: List? = null,
public val criticality: WorkloadAttributesCriticality? = null,
public val developerOwners: List? = null,
public val environment: WorkloadAttributesEnvironment? = null,
public val operatorOwners: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.apphub.outputs.WorkloadAttributes): WorkloadAttributes = WorkloadAttributes(
businessOwners = javaType.businessOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributesBusinessOwner.Companion.toKotlin(args0)
})
}),
criticality = javaType.criticality().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributesCriticality.Companion.toKotlin(args0)
})
}).orElse(null),
developerOwners = javaType.developerOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributesDeveloperOwner.Companion.toKotlin(args0)
})
}),
environment = javaType.environment().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributesEnvironment.Companion.toKotlin(args0)
})
}).orElse(null),
operatorOwners = javaType.operatorOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.WorkloadAttributesOperatorOwner.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy