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

com.pulumi.gcp.logging.kotlin.inputs.FolderBucketConfigIndexConfigArgs.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: 8.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.logging.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.logging.inputs.FolderBucketConfigIndexConfigArgs.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 fieldPath The LogEntry field path to index.
 * Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
 * @property type The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
 */
public data class FolderBucketConfigIndexConfigArgs(
    public val fieldPath: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.logging.inputs.FolderBucketConfigIndexConfigArgs =
        com.pulumi.gcp.logging.inputs.FolderBucketConfigIndexConfigArgs.builder()
            .fieldPath(fieldPath.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [FolderBucketConfigIndexConfigArgs].
 */
@PulumiTagMarker
public class FolderBucketConfigIndexConfigArgsBuilder internal constructor() {
    private var fieldPath: Output? = null

    private var type: Output? = null

    /**
     * @param value The LogEntry field path to index.
     * Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
     */
    @JvmName("vphgbelvgohrospj")
    public suspend fun fieldPath(`value`: Output) {
        this.fieldPath = value
    }

    /**
     * @param value The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
     */
    @JvmName("lsahjigremaminku")
    public suspend fun type(`value`: Output) {
        this.type = value
    }

    /**
     * @param value The LogEntry field path to index.
     * Note that some paths are automatically indexed, and other paths are not eligible for indexing. See indexing documentation for details.
     */
    @JvmName("thvtwnifyegeidct")
    public suspend fun fieldPath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.fieldPath = mapped
    }

    /**
     * @param value The type of data in this index. Allowed types include `INDEX_TYPE_UNSPECIFIED`, `INDEX_TYPE_STRING` and `INDEX_TYPE_INTEGER`.
     */
    @JvmName("gmpimxckgyryxvwd")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

    internal fun build(): FolderBucketConfigIndexConfigArgs = FolderBucketConfigIndexConfigArgs(
        fieldPath = fieldPath ?: throw PulumiNullFieldException("fieldPath"),
        type = type ?: throw PulumiNullFieldException("type"),
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy