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

com.pulumi.azure.monitoring.kotlin.inputs.AutoscaleSettingProfileFixedDateArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.monitoring.kotlin.inputs

import com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileFixedDateArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property end Specifies the end date for the profile, formatted as an RFC3339 date string.
 * @property start Specifies the start date for the profile, formatted as an RFC3339 date string.
 * @property timezone The Time Zone of the `start` and `end` times. A list of [possible values can be found here](https://msdn.microsoft.com/en-us/library/azure/dn931928.aspx). Defaults to `UTC`.
 */
public data class AutoscaleSettingProfileFixedDateArgs(
    public val end: Output,
    public val start: Output,
    public val timezone: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileFixedDateArgs =
        com.pulumi.azure.monitoring.inputs.AutoscaleSettingProfileFixedDateArgs.builder()
            .end(end.applyValue({ args0 -> args0 }))
            .start(start.applyValue({ args0 -> args0 }))
            .timezone(timezone?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [AutoscaleSettingProfileFixedDateArgs].
 */
@PulumiTagMarker
public class AutoscaleSettingProfileFixedDateArgsBuilder internal constructor() {
    private var end: Output? = null

    private var start: Output? = null

    private var timezone: Output? = null

    /**
     * @param value Specifies the end date for the profile, formatted as an RFC3339 date string.
     */
    @JvmName("lpgeavnecwvpxcey")
    public suspend fun end(`value`: Output) {
        this.end = value
    }

    /**
     * @param value Specifies the start date for the profile, formatted as an RFC3339 date string.
     */
    @JvmName("vwyvukbicapgvyey")
    public suspend fun start(`value`: Output) {
        this.start = value
    }

    /**
     * @param value The Time Zone of the `start` and `end` times. A list of [possible values can be found here](https://msdn.microsoft.com/en-us/library/azure/dn931928.aspx). Defaults to `UTC`.
     */
    @JvmName("jhgofxtpknpyhmwo")
    public suspend fun timezone(`value`: Output) {
        this.timezone = value
    }

    /**
     * @param value Specifies the end date for the profile, formatted as an RFC3339 date string.
     */
    @JvmName("xlwusbrtifasydcg")
    public suspend fun end(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.end = mapped
    }

    /**
     * @param value Specifies the start date for the profile, formatted as an RFC3339 date string.
     */
    @JvmName("bbjwsllcjbjiihhg")
    public suspend fun start(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.start = mapped
    }

    /**
     * @param value The Time Zone of the `start` and `end` times. A list of [possible values can be found here](https://msdn.microsoft.com/en-us/library/azure/dn931928.aspx). Defaults to `UTC`.
     */
    @JvmName("gtcxffhtxokhgkpi")
    public suspend fun timezone(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.timezone = mapped
    }

    internal fun build(): AutoscaleSettingProfileFixedDateArgs = AutoscaleSettingProfileFixedDateArgs(
        end = end ?: throw PulumiNullFieldException("end"),
        start = start ?: throw PulumiNullFieldException("start"),
        timezone = timezone,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy