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

com.pulumi.awsnative.detective.kotlin.inputs.GetMemberInvitationPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.detective.kotlin.inputs

import com.pulumi.awsnative.detective.inputs.GetMemberInvitationPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property graphArn The ARN of the graph to which the member account will be invited
 * @property memberId The AWS account ID to be invited to join the graph as a member
 */
public data class GetMemberInvitationPlainArgs(
    public val graphArn: String,
    public val memberId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.detective.inputs.GetMemberInvitationPlainArgs =
        com.pulumi.awsnative.detective.inputs.GetMemberInvitationPlainArgs.builder()
            .graphArn(graphArn.let({ args0 -> args0 }))
            .memberId(memberId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetMemberInvitationPlainArgs].
 */
@PulumiTagMarker
public class GetMemberInvitationPlainArgsBuilder internal constructor() {
    private var graphArn: String? = null

    private var memberId: String? = null

    /**
     * @param value The ARN of the graph to which the member account will be invited
     */
    @JvmName("recbxhxwdefraohi")
    public suspend fun graphArn(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.graphArn = mapped
    }

    /**
     * @param value The AWS account ID to be invited to join the graph as a member
     */
    @JvmName("gwcgltlipfsqqnpn")
    public suspend fun memberId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.memberId = mapped
    }

    internal fun build(): GetMemberInvitationPlainArgs = GetMemberInvitationPlainArgs(
        graphArn = graphArn ?: throw PulumiNullFieldException("graphArn"),
        memberId = memberId ?: throw PulumiNullFieldException("memberId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy