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

com.pulumi.gcp.logging.kotlin.inputs.BillingAccountBucketConfigIndexConfigArgs.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.BillingAccountBucketConfigIndexConfigArgs.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 BillingAccountBucketConfigIndexConfigArgs(
    public val fieldPath: Output,
    public val type: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.logging.inputs.BillingAccountBucketConfigIndexConfigArgs =
        com.pulumi.gcp.logging.inputs.BillingAccountBucketConfigIndexConfigArgs.builder()
            .fieldPath(fieldPath.applyValue({ args0 -> args0 }))
            .type(type.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BillingAccountBucketConfigIndexConfigArgs].
 */
@PulumiTagMarker
public class BillingAccountBucketConfigIndexConfigArgsBuilder 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("whboneejfqtcmcgl")
    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("ogykorohmrrpapmj")
    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("jqdgkehbaqmeevov")
    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("xvqxffquofbfkevq")
    public suspend fun type(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.type = mapped
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy