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

com.pulumi.awsnative.databrew.kotlin.inputs.JobSampleArgs.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.databrew.kotlin.inputs

import com.pulumi.awsnative.databrew.inputs.JobSampleArgs.builder
import com.pulumi.awsnative.databrew.kotlin.enums.JobSampleMode
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.Suppress
import kotlin.jvm.JvmName

/**
 * Job Sample
 * @property mode A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
 * - FULL_DATASET - The profile job is run on the entire dataset.
 * - CUSTOM_ROWS - The profile job is run on the number of rows specified in the `Size` parameter.
 * @property size The `Size` parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
 * Long.MAX_VALUE = 9223372036854775807
 */
public data class JobSampleArgs(
    public val mode: Output? = null,
    public val size: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.databrew.inputs.JobSampleArgs =
        com.pulumi.awsnative.databrew.inputs.JobSampleArgs.builder()
            .mode(mode?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
            .size(size?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [JobSampleArgs].
 */
@PulumiTagMarker
public class JobSampleArgsBuilder internal constructor() {
    private var mode: Output? = null

    private var size: Output? = null

    /**
     * @param value A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
     * - FULL_DATASET - The profile job is run on the entire dataset.
     * - CUSTOM_ROWS - The profile job is run on the number of rows specified in the `Size` parameter.
     */
    @JvmName("dwpkbdbnvstfffcf")
    public suspend fun mode(`value`: Output) {
        this.mode = value
    }

    /**
     * @param value The `Size` parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
     * Long.MAX_VALUE = 9223372036854775807
     */
    @JvmName("udfkxbthucdkmdto")
    public suspend fun size(`value`: Output) {
        this.size = value
    }

    /**
     * @param value A value that determines whether the profile job is run on the entire dataset or a specified number of rows. This value must be one of the following:
     * - FULL_DATASET - The profile job is run on the entire dataset.
     * - CUSTOM_ROWS - The profile job is run on the number of rows specified in the `Size` parameter.
     */
    @JvmName("mcbgaixvcaolcxcm")
    public suspend fun mode(`value`: JobSampleMode?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.mode = mapped
    }

    /**
     * @param value The `Size` parameter is only required when the mode is CUSTOM_ROWS. The profile job is run on the specified number of rows. The maximum value for size is Long.MAX_VALUE.
     * Long.MAX_VALUE = 9223372036854775807
     */
    @JvmName("upxelrwgtnsllkkj")
    public suspend fun size(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.size = mapped
    }

    internal fun build(): JobSampleArgs = JobSampleArgs(
        mode = mode,
        size = size,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy