![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.codeartifact.kotlin.outputs.GetPackageGroupResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.codeartifact.kotlin.outputs
import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property arn The ARN of the package group.
* @property contactInfo The contact info of the package group.
* @property description The text description of the package group.
* @property domainOwner The 12-digit account ID of the AWS account that owns the domain.
* @property originConfiguration The package origin configuration of the package group.
* @property tags An array of key-value pairs to apply to the package group.
*/
public data class GetPackageGroupResult(
public val arn: String? = null,
public val contactInfo: String? = null,
public val description: String? = null,
public val domainOwner: String? = null,
public val originConfiguration: PackageGroupOriginConfiguration? = null,
public val tags: List? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.codeartifact.outputs.GetPackageGroupResult): GetPackageGroupResult = GetPackageGroupResult(
arn = javaType.arn().map({ args0 -> args0 }).orElse(null),
contactInfo = javaType.contactInfo().map({ args0 -> args0 }).orElse(null),
description = javaType.description().map({ args0 -> args0 }).orElse(null),
domainOwner = javaType.domainOwner().map({ args0 -> args0 }).orElse(null),
originConfiguration = javaType.originConfiguration().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.codeartifact.kotlin.outputs.PackageGroupOriginConfiguration.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