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

com.pulumi.awsnative.guardduty.kotlin.inputs.GetMemberPlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.guardduty.kotlin.inputs

import com.pulumi.awsnative.guardduty.inputs.GetMemberPlainArgs.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 detectorId The ID of the detector associated with the GuardDuty service to add the member to.
 * @property memberId The AWS account ID of the account to designate as a member.
 */
public data class GetMemberPlainArgs(
    public val detectorId: String,
    public val memberId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.guardduty.inputs.GetMemberPlainArgs =
        com.pulumi.awsnative.guardduty.inputs.GetMemberPlainArgs.builder()
            .detectorId(detectorId.let({ args0 -> args0 }))
            .memberId(memberId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetMemberPlainArgs].
 */
@PulumiTagMarker
public class GetMemberPlainArgsBuilder internal constructor() {
    private var detectorId: String? = null

    private var memberId: String? = null

    /**
     * @param value The ID of the detector associated with the GuardDuty service to add the member to.
     */
    @JvmName("gffvkwkcgovfsnyt")
    public suspend fun detectorId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.detectorId = mapped
    }

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

    internal fun build(): GetMemberPlainArgs = GetMemberPlainArgs(
        detectorId = detectorId ?: throw PulumiNullFieldException("detectorId"),
        memberId = memberId ?: throw PulumiNullFieldException("memberId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy