![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.awsnative.detective.kotlin.GraphArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.detective.kotlin
import com.pulumi.awsnative.detective.GraphArgs.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.Boolean
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* Resource schema for AWS::Detective::Graph
* @property autoEnableMembers Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
* @property tags The tag values to assign to the new behavior graph.
*/
public data class GraphArgs(
public val autoEnableMembers: Output? = null,
public val tags: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.detective.GraphArgs =
com.pulumi.awsnative.detective.GraphArgs.builder()
.autoEnableMembers(autoEnableMembers?.applyValue({ args0 -> args0 }))
.tags(
tags?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
).build()
}
/**
* Builder for [GraphArgs].
*/
@PulumiTagMarker
public class GraphArgsBuilder internal constructor() {
private var autoEnableMembers: Output? = null
private var tags: Output>? = null
/**
* @param value Indicates whether to automatically enable new organization accounts as member accounts in the organization behavior graph.
*/
@JvmName("auqowohvshcypxws")
public suspend fun autoEnableMembers(`value`: Output) {
this.autoEnableMembers = value
}
/**
* @param value The tag values to assign to the new behavior graph.
*/
@JvmName("kgududllpxlmvuwt")
public suspend fun tags(`value`: Output>) {
this.tags = value
}
@JvmName("egyyxcgiewuhkceb")
public suspend fun tags(vararg values: Output) {
this.tags = Output.all(values.asList())
}
/**
* @param values The tag values to assign to the new behavior graph.
*/
@JvmName("lmyfqmlaacffjkpu")
public suspend fun tags(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy