All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.awsnative.b2bi.kotlin.outputs.GetPartnershipResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.b2bi.kotlin.outputs

import com.pulumi.awsnative.kotlin.outputs.Tag
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property capabilities Returns one or more capabilities associated with this partnership.
 * @property createdAt Returns a timestamp for creation date and time of the partnership.
 * @property modifiedAt Returns a timestamp that identifies the most recent date and time that the partnership was modified.
 * @property name Returns the name of the partnership.
 * @property partnershipArn Returns an Amazon Resource Name (ARN) for a specific AWS resource, such as a capability, partnership, profile, or transformer.
 * @property partnershipId Returns the unique, system-generated identifier for a partnership.
 * @property tags A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
 * @property tradingPartnerId Returns the unique, system-generated identifier for a trading partner.
 */
public data class GetPartnershipResult(
    public val capabilities: List? = null,
    public val createdAt: String? = null,
    public val modifiedAt: String? = null,
    public val name: String? = null,
    public val partnershipArn: String? = null,
    public val partnershipId: String? = null,
    public val tags: List? = null,
    public val tradingPartnerId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.b2bi.outputs.GetPartnershipResult): GetPartnershipResult = GetPartnershipResult(
            capabilities = javaType.capabilities().map({ args0 -> args0 }),
            createdAt = javaType.createdAt().map({ args0 -> args0 }).orElse(null),
            modifiedAt = javaType.modifiedAt().map({ args0 -> args0 }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            partnershipArn = javaType.partnershipArn().map({ args0 -> args0 }).orElse(null),
            partnershipId = javaType.partnershipId().map({ args0 -> args0 }).orElse(null),
            tags = javaType.tags().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.awsnative.kotlin.outputs.Tag.Companion.toKotlin(args0)
                })
            }),
            tradingPartnerId = javaType.tradingPartnerId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy