com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributes.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 ServiceAttributes(
public val businessOwners: List? = null,
public val criticality: ServiceAttributesCriticality? = null,
public val developerOwners: List? = null,
public val environment: ServiceAttributesEnvironment? = null,
public val operatorOwners: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.apphub.outputs.ServiceAttributes): ServiceAttributes = ServiceAttributes(
businessOwners = javaType.businessOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributesBusinessOwner.Companion.toKotlin(args0)
})
}),
criticality = javaType.criticality().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributesCriticality.Companion.toKotlin(args0)
})
}).orElse(null),
developerOwners = javaType.developerOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributesDeveloperOwner.Companion.toKotlin(args0)
})
}),
environment = javaType.environment().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributesEnvironment.Companion.toKotlin(args0)
})
}).orElse(null),
operatorOwners = javaType.operatorOwners().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.apphub.kotlin.outputs.ServiceAttributesOperatorOwner.Companion.toKotlin(args0)
})
}),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy