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

com.pulumi.azurenative.operationalinsights.kotlin.inputs.SearchResultsArgs.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.operationalinsights.kotlin.inputs

import com.pulumi.azurenative.operationalinsights.inputs.SearchResultsArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Parameters of the search job that initiated this table.
 * @property description Search job Description.
 * @property endSearchTime The timestamp to end the search by (UTC)
 * @property limit Limit the search job to return up to specified number of rows.
 * @property query Search job query.
 * @property startSearchTime The timestamp to start the search from (UTC)
 */
public data class SearchResultsArgs(
    public val description: Output? = null,
    public val endSearchTime: Output? = null,
    public val limit: Output? = null,
    public val query: Output? = null,
    public val startSearchTime: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.operationalinsights.inputs.SearchResultsArgs =
        com.pulumi.azurenative.operationalinsights.inputs.SearchResultsArgs.builder()
            .description(description?.applyValue({ args0 -> args0 }))
            .endSearchTime(endSearchTime?.applyValue({ args0 -> args0 }))
            .limit(limit?.applyValue({ args0 -> args0 }))
            .query(query?.applyValue({ args0 -> args0 }))
            .startSearchTime(startSearchTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [SearchResultsArgs].
 */
@PulumiTagMarker
public class SearchResultsArgsBuilder internal constructor() {
    private var description: Output? = null

    private var endSearchTime: Output? = null

    private var limit: Output? = null

    private var query: Output? = null

    private var startSearchTime: Output? = null

    /**
     * @param value Search job Description.
     */
    @JvmName("graljxaqbaatnqrv")
    public suspend fun description(`value`: Output) {
        this.description = value
    }

    /**
     * @param value The timestamp to end the search by (UTC)
     */
    @JvmName("fjxbsjwjsleorhve")
    public suspend fun endSearchTime(`value`: Output) {
        this.endSearchTime = value
    }

    /**
     * @param value Limit the search job to return up to specified number of rows.
     */
    @JvmName("yjirdewyfxuhjvau")
    public suspend fun limit(`value`: Output) {
        this.limit = value
    }

    /**
     * @param value Search job query.
     */
    @JvmName("wwptvjlortmeypfp")
    public suspend fun query(`value`: Output) {
        this.query = value
    }

    /**
     * @param value The timestamp to start the search from (UTC)
     */
    @JvmName("xbiwmlduqxtfnfsp")
    public suspend fun startSearchTime(`value`: Output) {
        this.startSearchTime = value
    }

    /**
     * @param value Search job Description.
     */
    @JvmName("xsgknbxklvlqogay")
    public suspend fun description(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.description = mapped
    }

    /**
     * @param value The timestamp to end the search by (UTC)
     */
    @JvmName("lvjsgrvaohfpfrvo")
    public suspend fun endSearchTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endSearchTime = mapped
    }

    /**
     * @param value Limit the search job to return up to specified number of rows.
     */
    @JvmName("snvadqacrmcwecti")
    public suspend fun limit(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.limit = mapped
    }

    /**
     * @param value Search job query.
     */
    @JvmName("yxxhgiftsyrrobcp")
    public suspend fun query(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.query = mapped
    }

    /**
     * @param value The timestamp to start the search from (UTC)
     */
    @JvmName("yphuqbmqpdwindar")
    public suspend fun startSearchTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startSearchTime = mapped
    }

    internal fun build(): SearchResultsArgs = SearchResultsArgs(
        description = description,
        endSearchTime = endSearchTime,
        limit = limit,
        query = query,
        startSearchTime = startSearchTime,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy