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

com.pulumi.awsnative.databrew.kotlin.outputs.JobSample.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.outputs

import com.pulumi.awsnative.databrew.kotlin.enums.JobSampleMode
import kotlin.Int
import kotlin.Suppress

/**
 * 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 JobSample(
    public val mode: JobSampleMode? = null,
    public val size: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.JobSample): JobSample =
            JobSample(
                mode = javaType.mode().map({ args0 ->
                    args0.let({ args0 ->
                        com.pulumi.awsnative.databrew.kotlin.enums.JobSampleMode.Companion.toKotlin(args0)
                    })
                }).orElse(null),
                size = javaType.size().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy