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

com.pulumi.awsnative.b2bi.kotlin.PartnershipArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.b2bi.kotlin

import com.pulumi.awsnative.b2bi.PartnershipArgs.builder
import com.pulumi.awsnative.kotlin.inputs.TagArgs
import com.pulumi.awsnative.kotlin.inputs.TagArgsBuilder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 * Definition of AWS::B2BI::Partnership Resource Type
 * @property capabilities Returns one or more capabilities associated with this partnership.
 * @property email
 * @property name Returns the name of the partnership.
 * @property phone
 * @property profileId Returns the unique, system-generated identifier for the profile connected to this 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.
 */
public data class PartnershipArgs(
    public val capabilities: Output>? = null,
    public val email: Output? = null,
    public val name: Output? = null,
    public val phone: Output? = null,
    public val profileId: Output? = null,
    public val tags: Output>? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.b2bi.PartnershipArgs =
        com.pulumi.awsnative.b2bi.PartnershipArgs.builder()
            .capabilities(capabilities?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .email(email?.applyValue({ args0 -> args0 }))
            .name(name?.applyValue({ args0 -> args0 }))
            .phone(phone?.applyValue({ args0 -> args0 }))
            .profileId(profileId?.applyValue({ args0 -> args0 }))
            .tags(
                tags?.applyValue({ args0 ->
                    args0.map({ args0 ->
                        args0.let({ args0 ->
                            args0.toJava()
                        })
                    })
                }),
            ).build()
}

/**
 * Builder for [PartnershipArgs].
 */
@PulumiTagMarker
public class PartnershipArgsBuilder internal constructor() {
    private var capabilities: Output>? = null

    private var email: Output? = null

    private var name: Output? = null

    private var phone: Output? = null

    private var profileId: Output? = null

    private var tags: Output>? = null

    /**
     * @param value Returns one or more capabilities associated with this partnership.
     */
    @JvmName("gjouqxfovosavhtt")
    public suspend fun capabilities(`value`: Output>) {
        this.capabilities = value
    }

    @JvmName("jpxpjmrjchokwjrf")
    public suspend fun capabilities(vararg values: Output) {
        this.capabilities = Output.all(values.asList())
    }

    /**
     * @param values Returns one or more capabilities associated with this partnership.
     */
    @JvmName("vvtfaywrgrodhapl")
    public suspend fun capabilities(values: List>) {
        this.capabilities = Output.all(values)
    }

    /**
     * @param value
     */
    @JvmName("ejaecptyeybmnwrs")
    public suspend fun email(`value`: Output) {
        this.email = value
    }

    /**
     * @param value Returns the name of the partnership.
     */
    @JvmName("doxvbjscmgqvkedl")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value
     */
    @JvmName("npvndunjxfxouufb")
    public suspend fun phone(`value`: Output) {
        this.phone = value
    }

    /**
     * @param value Returns the unique, system-generated identifier for the profile connected to this partnership.
     */
    @JvmName("ldroqewnejalpvwi")
    public suspend fun profileId(`value`: Output) {
        this.profileId = value
    }

    /**
     * @param value A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("ysijsthstyimgmot")
    public suspend fun tags(`value`: Output>) {
        this.tags = value
    }

    @JvmName("pspeagkuxppolxis")
    public suspend fun tags(vararg values: Output) {
        this.tags = Output.all(values.asList())
    }

    /**
     * @param values A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("dntmxwfvomxlfvsa")
    public suspend fun tags(values: List>) {
        this.tags = Output.all(values)
    }

    /**
     * @param value Returns one or more capabilities associated with this partnership.
     */
    @JvmName("hiiykmtcgcalqiou")
    public suspend fun capabilities(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.capabilities = mapped
    }

    /**
     * @param values Returns one or more capabilities associated with this partnership.
     */
    @JvmName("gdwbdttnfplqvfnk")
    public suspend fun capabilities(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.capabilities = mapped
    }

    /**
     * @param value
     */
    @JvmName("pnjcqtgnfduqnhhe")
    public suspend fun email(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.email = mapped
    }

    /**
     * @param value Returns the name of the partnership.
     */
    @JvmName("smtmjequtenipeqm")
    public suspend fun name(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.name = mapped
    }

    /**
     * @param value
     */
    @JvmName("eestchnemqitmbnv")
    public suspend fun phone(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.phone = mapped
    }

    /**
     * @param value Returns the unique, system-generated identifier for the profile connected to this partnership.
     */
    @JvmName("uvfqwkfhpkyjtgod")
    public suspend fun profileId(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.profileId = mapped
    }

    /**
     * @param value A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("kipwjmgxhhbpcyiw")
    public suspend fun tags(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    /**
     * @param argument A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("xfqcikqbrjcaqhda")
    public suspend fun tags(argument: List Unit>) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("nnbyyhvevwdulfde")
    public suspend fun tags(vararg argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = argument.toList().map { TagArgsBuilder().applySuspend { it() }.build() }
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param argument A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("xcoppymgibisdmty")
    public suspend fun tags(argument: suspend TagArgsBuilder.() -> Unit) {
        val toBeMapped = listOf(TagArgsBuilder().applySuspend { argument() }.build())
        val mapped = of(toBeMapped)
        this.tags = mapped
    }

    /**
     * @param values A key-value pair for a specific partnership. Tags are metadata that you can use to search for and group capabilities for various purposes.
     */
    @JvmName("fsolodbksgfcfuqy")
    public suspend fun tags(vararg values: TagArgs) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.tags = mapped
    }

    internal fun build(): PartnershipArgs = PartnershipArgs(
        capabilities = capabilities,
        email = email,
        name = name,
        phone = phone,
        profileId = profileId,
        tags = tags,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy