
com.pulumi.awsnative.verifiedpermissions.kotlin.inputs.GetIdentitySourcePlainArgs.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.verifiedpermissions.kotlin.inputs
import com.pulumi.awsnative.verifiedpermissions.inputs.GetIdentitySourcePlainArgs.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 identitySourceId The unique ID of the new or updated identity store.
* @property policyStoreId Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
*/
public data class GetIdentitySourcePlainArgs(
public val identitySourceId: String,
public val policyStoreId: String,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.awsnative.verifiedpermissions.inputs.GetIdentitySourcePlainArgs = com.pulumi.awsnative.verifiedpermissions.inputs.GetIdentitySourcePlainArgs.builder()
.identitySourceId(identitySourceId.let({ args0 -> args0 }))
.policyStoreId(policyStoreId.let({ args0 -> args0 })).build()
}
/**
* Builder for [GetIdentitySourcePlainArgs].
*/
@PulumiTagMarker
public class GetIdentitySourcePlainArgsBuilder internal constructor() {
private var identitySourceId: String? = null
private var policyStoreId: String? = null
/**
* @param value The unique ID of the new or updated identity store.
*/
@JvmName("nmkrckxjrhhmxsjt")
public suspend fun identitySourceId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.identitySourceId = mapped
}
/**
* @param value Specifies the ID of the policy store in which you want to store this identity source. Only policies and requests made using this policy store can reference identities from the identity provider configured in the new identity source.
*/
@JvmName("tsslmgcnakdkjmrk")
public suspend fun policyStoreId(`value`: String) {
val toBeMapped = value
val mapped = toBeMapped.let({ args0 -> args0 })
this.policyStoreId = mapped
}
internal fun build(): GetIdentitySourcePlainArgs = GetIdentitySourcePlainArgs(
identitySourceId = identitySourceId ?: throw PulumiNullFieldException("identitySourceId"),
policyStoreId = policyStoreId ?: throw PulumiNullFieldException("policyStoreId"),
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy