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

com.pulumi.awsnative.databrew.kotlin.outputs.ProjectSample.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.awsnative.databrew.kotlin.outputs

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

/**
 *
 * @property size Sample size
 * @property type Sample type
 */
public data class ProjectSample(
    public val size: Int? = null,
    public val type: ProjectSampleType,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.awsnative.databrew.outputs.ProjectSample): ProjectSample = ProjectSample(
            size = javaType.size().map({ args0 -> args0 }).orElse(null),
            type = javaType.type().let({ args0 ->
                com.pulumi.awsnative.databrew.kotlin.enums.ProjectSampleType.Companion.toKotlin(args0)
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy