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

com.pulumi.googlenative.transcoder.v1.kotlin.inputs.DenoiseArgs.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.

The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.transcoder.v1.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.transcoder.v1.inputs.DenoiseArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Double
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Denoise preprocessing configuration. **Note:** This configuration is not supported.
 * @property strength Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.
 * @property tune Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
 */
public data class DenoiseArgs(
    public val strength: Output? = null,
    public val tune: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.googlenative.transcoder.v1.inputs.DenoiseArgs =
        com.pulumi.googlenative.transcoder.v1.inputs.DenoiseArgs.builder()
            .strength(strength?.applyValue({ args0 -> args0 }))
            .tune(tune?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [DenoiseArgs].
 */
@PulumiTagMarker
public class DenoiseArgsBuilder internal constructor() {
    private var strength: Output? = null

    private var tune: Output? = null

    /**
     * @param value Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.
     */
    @JvmName("tfhhrsrdfratxvlj")
    public suspend fun strength(`value`: Output) {
        this.strength = value
    }

    /**
     * @param value Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
     */
    @JvmName("icfaijrdlhqacnmi")
    public suspend fun tune(`value`: Output) {
        this.tune = value
    }

    /**
     * @param value Set strength of the denoise. Enter a value between 0 and 1. The higher the value, the smoother the image. 0 is no denoising. The default is 0.
     */
    @JvmName("bjakpcmvsediawjd")
    public suspend fun strength(`value`: Double?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.strength = mapped
    }

    /**
     * @param value Set the denoiser mode. The default is `standard`. Supported denoiser modes: - `standard` - `grain`
     */
    @JvmName("skcsjyvlwwuisdnl")
    public suspend fun tune(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tune = mapped
    }

    internal fun build(): DenoiseArgs = DenoiseArgs(
        strength = strength,
        tune = tune,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy