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

com.pulumi.awsnative.kendra.kotlin.inputs.DataSourceOneDriveUsersArgs.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: 1.24.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.kendra.kotlin.inputs

import com.pulumi.awsnative.kendra.inputs.DataSourceOneDriveUsersArgs.builder
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.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName

/**
 *
 * @property oneDriveUserList A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users.
 * @property oneDriveUserS3Path The S3 bucket location of a file containing a list of users whose documents should be indexed.
 */
public data class DataSourceOneDriveUsersArgs(
    public val oneDriveUserList: Output>? = null,
    public val oneDriveUserS3Path: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.kendra.inputs.DataSourceOneDriveUsersArgs =
        com.pulumi.awsnative.kendra.inputs.DataSourceOneDriveUsersArgs.builder()
            .oneDriveUserList(oneDriveUserList?.applyValue({ args0 -> args0.map({ args0 -> args0 }) }))
            .oneDriveUserS3Path(
                oneDriveUserS3Path?.applyValue({ args0 ->
                    args0.let({ args0 ->
                        args0.toJava()
                    })
                }),
            ).build()
}

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

    private var oneDriveUserS3Path: Output? = null

    /**
     * @param value A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users.
     */
    @JvmName("fmhwtitfccothxql")
    public suspend fun oneDriveUserList(`value`: Output>) {
        this.oneDriveUserList = value
    }

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

    /**
     * @param values A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users.
     */
    @JvmName("qidgyngruupcldrv")
    public suspend fun oneDriveUserList(values: List>) {
        this.oneDriveUserList = Output.all(values)
    }

    /**
     * @param value The S3 bucket location of a file containing a list of users whose documents should be indexed.
     */
    @JvmName("txcvryupancpmjhv")
    public suspend fun oneDriveUserS3Path(`value`: Output) {
        this.oneDriveUserS3Path = value
    }

    /**
     * @param value A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users.
     */
    @JvmName("qbgmxbckhgscsdmn")
    public suspend fun oneDriveUserList(`value`: List?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oneDriveUserList = mapped
    }

    /**
     * @param values A list of users whose documents should be indexed. Specify the user names in email format, for example, `username@tenantdomain` . If you need to index the documents of more than 10 users, use the `OneDriveUserS3Path` field to specify the location of a file containing a list of users.
     */
    @JvmName("oaticuhxjsnktpaf")
    public suspend fun oneDriveUserList(vararg values: String) {
        val toBeMapped = values.toList()
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.oneDriveUserList = mapped
    }

    /**
     * @param value The S3 bucket location of a file containing a list of users whose documents should be indexed.
     */
    @JvmName("hnmikfprfxyriayq")
    public suspend fun oneDriveUserS3Path(`value`: DataSourceS3PathArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.oneDriveUserS3Path = mapped
    }

    /**
     * @param argument The S3 bucket location of a file containing a list of users whose documents should be indexed.
     */
    @JvmName("hkoymhlvbgwhlytg")
    public suspend fun oneDriveUserS3Path(argument: suspend DataSourceS3PathArgsBuilder.() -> Unit) {
        val toBeMapped = DataSourceS3PathArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.oneDriveUserS3Path = mapped
    }

    internal fun build(): DataSourceOneDriveUsersArgs = DataSourceOneDriveUsersArgs(
        oneDriveUserList = oneDriveUserList,
        oneDriveUserS3Path = oneDriveUserS3Path,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy