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

com.pulumi.aws.mq.kotlin.inputs.BrokerLdapServerMetadataArgs.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.mq.kotlin.inputs

import com.pulumi.aws.mq.inputs.BrokerLdapServerMetadataArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property hosts List of a fully qualified domain name of the LDAP server and an optional failover server.
 * @property roleBase Fully qualified name of the directory to search for a user’s groups.
 * @property roleName Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
 * @property roleSearchMatching Search criteria for groups.
 * @property roleSearchSubtree Whether the directory search scope is the entire sub-tree.
 * @property serviceAccountPassword Service account password.
 * @property serviceAccountUsername Service account username.
 * @property userBase Fully qualified name of the directory where you want to search for users.
 * @property userRoleName Specifies the name of the LDAP attribute for the user group membership.
 * @property userSearchMatching Search criteria for users.
 * @property userSearchSubtree Whether the directory search scope is the entire sub-tree.
 */
public data class BrokerLdapServerMetadataArgs(
    public val hosts: Output>? = null,
    public val roleBase: Output? = null,
    public val roleName: Output? = null,
    public val roleSearchMatching: Output? = null,
    public val roleSearchSubtree: Output? = null,
    public val serviceAccountPassword: Output? = null,
    public val serviceAccountUsername: Output? = null,
    public val userBase: Output? = null,
    public val userRoleName: Output? = null,
    public val userSearchMatching: Output? = null,
    public val userSearchSubtree: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.mq.inputs.BrokerLdapServerMetadataArgs =
        com.pulumi.aws.mq.inputs.BrokerLdapServerMetadataArgs.builder()
            .hosts(hosts?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .roleBase(roleBase?.applyValue({ args0 -> args0 }))
            .roleName(roleName?.applyValue({ args0 -> args0 }))
            .roleSearchMatching(roleSearchMatching?.applyValue({ args0 -> args0 }))
            .roleSearchSubtree(roleSearchSubtree?.applyValue({ args0 -> args0 }))
            .serviceAccountPassword(serviceAccountPassword?.applyValue({ args0 -> args0 }))
            .serviceAccountUsername(serviceAccountUsername?.applyValue({ args0 -> args0 }))
            .userBase(userBase?.applyValue({ args0 -> args0 }))
            .userRoleName(userRoleName?.applyValue({ args0 -> args0 }))
            .userSearchMatching(userSearchMatching?.applyValue({ args0 -> args0 }))
            .userSearchSubtree(userSearchSubtree?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BrokerLdapServerMetadataArgs].
 */
@PulumiTagMarker
public class BrokerLdapServerMetadataArgsBuilder internal constructor() {
    private var hosts: Output>? = null

    private var roleBase: Output? = null

    private var roleName: Output? = null

    private var roleSearchMatching: Output? = null

    private var roleSearchSubtree: Output? = null

    private var serviceAccountPassword: Output? = null

    private var serviceAccountUsername: Output? = null

    private var userBase: Output? = null

    private var userRoleName: Output? = null

    private var userSearchMatching: Output? = null

    private var userSearchSubtree: Output? = null

    /**
     * @param value List of a fully qualified domain name of the LDAP server and an optional failover server.
     */
    @JvmName("dhpvfrxbtrfbfctn")
    public suspend fun hosts(`value`: Output>) {
        this.hosts = value
    }

    @JvmName("xijgqiqbuxtvufeh")
    public suspend fun hosts(vararg values: Output) {
        this.hosts = Output.all(values.asList())
    }

    /**
     * @param values List of a fully qualified domain name of the LDAP server and an optional failover server.
     */
    @JvmName("dfwqifiuxvsujtiy")
    public suspend fun hosts(values: List>) {
        this.hosts = Output.all(values)
    }

    /**
     * @param value Fully qualified name of the directory to search for a user’s groups.
     */
    @JvmName("efytnfkowqdhopmf")
    public suspend fun roleBase(`value`: Output) {
        this.roleBase = value
    }

    /**
     * @param value Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
     */
    @JvmName("avgebfiakpwbxdps")
    public suspend fun roleName(`value`: Output) {
        this.roleName = value
    }

    /**
     * @param value Search criteria for groups.
     */
    @JvmName("tvxgoxvoblfcwuwb")
    public suspend fun roleSearchMatching(`value`: Output) {
        this.roleSearchMatching = value
    }

    /**
     * @param value Whether the directory search scope is the entire sub-tree.
     */
    @JvmName("bqssdtvippbijaac")
    public suspend fun roleSearchSubtree(`value`: Output) {
        this.roleSearchSubtree = value
    }

    /**
     * @param value Service account password.
     */
    @JvmName("mlfmayejvtqulbfp")
    public suspend fun serviceAccountPassword(`value`: Output) {
        this.serviceAccountPassword = value
    }

    /**
     * @param value Service account username.
     */
    @JvmName("cfxpmwarfiqctghb")
    public suspend fun serviceAccountUsername(`value`: Output) {
        this.serviceAccountUsername = value
    }

    /**
     * @param value Fully qualified name of the directory where you want to search for users.
     */
    @JvmName("kgsthmccntaxnqrs")
    public suspend fun userBase(`value`: Output) {
        this.userBase = value
    }

    /**
     * @param value Specifies the name of the LDAP attribute for the user group membership.
     */
    @JvmName("vfeqfhifemciplbo")
    public suspend fun userRoleName(`value`: Output) {
        this.userRoleName = value
    }

    /**
     * @param value Search criteria for users.
     */
    @JvmName("gksrerinjnlfqxof")
    public suspend fun userSearchMatching(`value`: Output) {
        this.userSearchMatching = value
    }

    /**
     * @param value Whether the directory search scope is the entire sub-tree.
     */
    @JvmName("nfaikldwtpruvjiq")
    public suspend fun userSearchSubtree(`value`: Output) {
        this.userSearchSubtree = value
    }

    /**
     * @param value List of a fully qualified domain name of the LDAP server and an optional failover server.
     */
    @JvmName("jhqvliwcyepecral")
    public suspend fun hosts(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.hosts = mapped
    }

    /**
     * @param values List of a fully qualified domain name of the LDAP server and an optional failover server.
     */
    @JvmName("hfahccvxwrtkslsj")
    public suspend fun hosts(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.hosts = mapped
    }

    /**
     * @param value Fully qualified name of the directory to search for a user’s groups.
     */
    @JvmName("yctqlayytjoamoii")
    public suspend fun roleBase(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleBase = mapped
    }

    /**
     * @param value Specifies the LDAP attribute that identifies the group name attribute in the object returned from the group membership query.
     */
    @JvmName("hcsjjolstdaurdvy")
    public suspend fun roleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleName = mapped
    }

    /**
     * @param value Search criteria for groups.
     */
    @JvmName("wmpuupgewkbkttej")
    public suspend fun roleSearchMatching(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleSearchMatching = mapped
    }

    /**
     * @param value Whether the directory search scope is the entire sub-tree.
     */
    @JvmName("tfhifcjqrrekphal")
    public suspend fun roleSearchSubtree(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.roleSearchSubtree = mapped
    }

    /**
     * @param value Service account password.
     */
    @JvmName("iskrebptguobrtkq")
    public suspend fun serviceAccountPassword(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceAccountPassword = mapped
    }

    /**
     * @param value Service account username.
     */
    @JvmName("qrtixxfodhdqiyqk")
    public suspend fun serviceAccountUsername(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.serviceAccountUsername = mapped
    }

    /**
     * @param value Fully qualified name of the directory where you want to search for users.
     */
    @JvmName("lxbkluqanvacbvot")
    public suspend fun userBase(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userBase = mapped
    }

    /**
     * @param value Specifies the name of the LDAP attribute for the user group membership.
     */
    @JvmName("ukgjevkniqpblysx")
    public suspend fun userRoleName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userRoleName = mapped
    }

    /**
     * @param value Search criteria for users.
     */
    @JvmName("mystgixmjhxfkvoc")
    public suspend fun userSearchMatching(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userSearchMatching = mapped
    }

    /**
     * @param value Whether the directory search scope is the entire sub-tree.
     */
    @JvmName("emvqijjkqjrgqcrv")
    public suspend fun userSearchSubtree(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.userSearchSubtree = mapped
    }

    internal fun build(): BrokerLdapServerMetadataArgs = BrokerLdapServerMetadataArgs(
        hosts = hosts,
        roleBase = roleBase,
        roleName = roleName,
        roleSearchMatching = roleSearchMatching,
        roleSearchSubtree = roleSearchSubtree,
        serviceAccountPassword = serviceAccountPassword,
        serviceAccountUsername = serviceAccountUsername,
        userBase = userBase,
        userRoleName = userRoleName,
        userSearchMatching = userSearchMatching,
        userSearchSubtree = userSearchSubtree,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy