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

com.pulumi.awsnative.verifiedpermissions.kotlin.inputs.GetPolicyTemplatePlainArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.awsnative.verifiedpermissions.kotlin.inputs

import com.pulumi.awsnative.verifiedpermissions.inputs.GetPolicyTemplatePlainArgs.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 policyStoreId The unique identifier of the policy store that contains the template.
 * @property policyTemplateId The unique identifier of the new or modified policy template.
 */
public data class GetPolicyTemplatePlainArgs(
    public val policyStoreId: String,
    public val policyTemplateId: String,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.verifiedpermissions.inputs.GetPolicyTemplatePlainArgs = com.pulumi.awsnative.verifiedpermissions.inputs.GetPolicyTemplatePlainArgs.builder()
        .policyStoreId(policyStoreId.let({ args0 -> args0 }))
        .policyTemplateId(policyTemplateId.let({ args0 -> args0 })).build()
}

/**
 * Builder for [GetPolicyTemplatePlainArgs].
 */
@PulumiTagMarker
public class GetPolicyTemplatePlainArgsBuilder internal constructor() {
    private var policyStoreId: String? = null

    private var policyTemplateId: String? = null

    /**
     * @param value The unique identifier of the policy store that contains the template.
     */
    @JvmName("qdqefidtntewvtgh")
    public suspend fun policyStoreId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.policyStoreId = mapped
    }

    /**
     * @param value The unique identifier of the new or modified policy template.
     */
    @JvmName("pfjoofbayvbmvlnx")
    public suspend fun policyTemplateId(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> args0 })
        this.policyTemplateId = mapped
    }

    internal fun build(): GetPolicyTemplatePlainArgs = GetPolicyTemplatePlainArgs(
        policyStoreId = policyStoreId ?: throw PulumiNullFieldException("policyStoreId"),
        policyTemplateId = policyTemplateId ?: throw PulumiNullFieldException("policyTemplateId"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy