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

com.pulumi.aws.imagebuilder.kotlin.inputs.ImagePipelineImageTestsConfigurationArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.imagebuilder.kotlin.inputs

import com.pulumi.aws.imagebuilder.inputs.ImagePipelineImageTestsConfigurationArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Int
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property imageTestsEnabled Whether image tests are enabled. Defaults to `true`.
 * @property timeoutMinutes Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
 */
public data class ImagePipelineImageTestsConfigurationArgs(
    public val imageTestsEnabled: Output? = null,
    public val timeoutMinutes: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.imagebuilder.inputs.ImagePipelineImageTestsConfigurationArgs = com.pulumi.aws.imagebuilder.inputs.ImagePipelineImageTestsConfigurationArgs.builder()
        .imageTestsEnabled(imageTestsEnabled?.applyValue({ args0 -> args0 }))
        .timeoutMinutes(timeoutMinutes?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [ImagePipelineImageTestsConfigurationArgs].
 */
@PulumiTagMarker
public class ImagePipelineImageTestsConfigurationArgsBuilder internal constructor() {
    private var imageTestsEnabled: Output? = null

    private var timeoutMinutes: Output? = null

    /**
     * @param value Whether image tests are enabled. Defaults to `true`.
     */
    @JvmName("lxbefpecsoiwufqq")
    public suspend fun imageTestsEnabled(`value`: Output) {
        this.imageTestsEnabled = value
    }

    /**
     * @param value Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
     */
    @JvmName("tiksvnqavpnminsb")
    public suspend fun timeoutMinutes(`value`: Output) {
        this.timeoutMinutes = value
    }

    /**
     * @param value Whether image tests are enabled. Defaults to `true`.
     */
    @JvmName("aqamuwbydotchlui")
    public suspend fun imageTestsEnabled(`value`: Boolean?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.imageTestsEnabled = mapped
    }

    /**
     * @param value Number of minutes before image tests time out. Valid values are between `60` and `1440`. Defaults to `720`.
     */
    @JvmName("pyvkajolewbpqefv")
    public suspend fun timeoutMinutes(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timeoutMinutes = mapped
    }

    internal fun build(): ImagePipelineImageTestsConfigurationArgs =
        ImagePipelineImageTestsConfigurationArgs(
            imageTestsEnabled = imageTestsEnabled,
            timeoutMinutes = timeoutMinutes,
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy