
com.pulumi.awsnative.guardduty.kotlin.MasterArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.guardduty.kotlin
import com.pulumi.awsnative.guardduty.MasterArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* GuardDuty Master resource schema
* @property detectorId Unique ID of the detector of the GuardDuty member account.
* @property invitationId Value used to validate the master account to the member account.
* @property masterId ID of the account used as the master account.
*/
public data class MasterArgs(
public val detectorId: Output? = null,
public val invitationId: Output? = null,
public val masterId: Output? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.guardduty.MasterArgs =
com.pulumi.awsnative.guardduty.MasterArgs.builder()
.detectorId(detectorId?.applyValue({ args0 -> args0 }))
.invitationId(invitationId?.applyValue({ args0 -> args0 }))
.masterId(masterId?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [MasterArgs].
*/
@PulumiTagMarker
public class MasterArgsBuilder internal constructor() {
private var detectorId: Output? = null
private var invitationId: Output? = null
private var masterId: Output? = null
/**
* @param value Unique ID of the detector of the GuardDuty member account.
*/
@JvmName("uqnkktnxmrqblbyo")
public suspend fun detectorId(`value`: Output) {
this.detectorId = value
}
/**
* @param value Value used to validate the master account to the member account.
*/
@JvmName("psccinobcumrihmg")
public suspend fun invitationId(`value`: Output) {
this.invitationId = value
}
/**
* @param value ID of the account used as the master account.
*/
@JvmName("embxlvskywcjqccn")
public suspend fun masterId(`value`: Output) {
this.masterId = value
}
/**
* @param value Unique ID of the detector of the GuardDuty member account.
*/
@JvmName("xehbrnbiorcrvjij")
public suspend fun detectorId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.detectorId = mapped
}
/**
* @param value Value used to validate the master account to the member account.
*/
@JvmName("llsnnlbcghdaxkei")
public suspend fun invitationId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.invitationId = mapped
}
/**
* @param value ID of the account used as the master account.
*/
@JvmName("tktjkbcjtrwyaycs")
public suspend fun masterId(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.masterId = mapped
}
internal fun build(): MasterArgs = MasterArgs(
detectorId = detectorId,
invitationId = invitationId,
masterId = masterId,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy