com.pulumi.azure.policy.kotlin.inputs.GetPolicySetDefinitionPlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.azure.policy.kotlin.inputs
import com.pulumi.azure.policy.inputs.GetPolicySetDefinitionPlainArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
* A collection of arguments for invoking getPolicySetDefinition.
* @property displayName Specifies the display name of the Policy Set Definition. Conflicts with `name`.
* **NOTE** As `display_name` is not unique errors may occur when there are multiple policy set definitions with same display name.
* @property managementGroupName Only retrieve Policy Set Definitions from this Management Group.
* @property name Specifies the name of the Policy Set Definition. Conflicts with `display_name`.
*/
public data class GetPolicySetDefinitionPlainArgs(
public val displayName: String? = null,
public val managementGroupName: String? = null,
public val name: String? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.azure.policy.inputs.GetPolicySetDefinitionPlainArgs =
com.pulumi.azure.policy.inputs.GetPolicySetDefinitionPlainArgs.builder()
.displayName(displayName?.let({ args0 -> args0 }))
.managementGroupName(managementGroupName?.let({ args0 -> args0 }))
.name(name?.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetPolicySetDefinitionPlainArgs].
*/
@PulumiTagMarker
public class GetPolicySetDefinitionPlainArgsBuilder internal constructor() {
private var displayName: String? = null
private var managementGroupName: String? = null
private var name: String? = null
/**
* @param value Specifies the display name of the Policy Set Definition. Conflicts with `name`.
* **NOTE** As `display_name` is not unique errors may occur when there are multiple policy set definitions with same display name.
*/
@JvmName("irevwmlwlmuyribr")
public suspend fun displayName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.displayName = mapped
}
/**
* @param value Only retrieve Policy Set Definitions from this Management Group.
*/
@JvmName("mqtpggforarqsyhn")
public suspend fun managementGroupName(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.managementGroupName = mapped
}
/**
* @param value Specifies the name of the Policy Set Definition. Conflicts with `display_name`.
*/
@JvmName("flggmxsahjnhwbkr")
public suspend fun name(`value`: String?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> args0 })
this.name = mapped
}
internal fun build(): GetPolicySetDefinitionPlainArgs = GetPolicySetDefinitionPlainArgs(
displayName = displayName,
managementGroupName = managementGroupName,
name = name,
)
}