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

com.pulumi.aws.pinpoint.kotlin.inputs.AppQuietTimeArgs.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.pinpoint.kotlin.inputs

import com.pulumi.aws.pinpoint.inputs.AppQuietTimeArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property end The default end time for quiet time in ISO 8601 format. Required if `start` is set
 * @property start The default start time for quiet time in ISO 8601 format. Required if `end` is set
 */
public data class AppQuietTimeArgs(
    public val end: Output? = null,
    public val start: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.pinpoint.inputs.AppQuietTimeArgs =
        com.pulumi.aws.pinpoint.inputs.AppQuietTimeArgs.builder()
            .end(end?.applyValue({ args0 -> args0 }))
            .start(start?.applyValue({ args0 -> args0 })).build()
}

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

    private var start: Output? = null

    /**
     * @param value The default end time for quiet time in ISO 8601 format. Required if `start` is set
     */
    @JvmName("jvkwgnultkulngep")
    public suspend fun end(`value`: Output) {
        this.end = value
    }

    /**
     * @param value The default start time for quiet time in ISO 8601 format. Required if `end` is set
     */
    @JvmName("gpdkvixaokgwnbug")
    public suspend fun start(`value`: Output) {
        this.start = value
    }

    /**
     * @param value The default end time for quiet time in ISO 8601 format. Required if `start` is set
     */
    @JvmName("smqinofqjxsbqcbf")
    public suspend fun end(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.end = mapped
    }

    /**
     * @param value The default start time for quiet time in ISO 8601 format. Required if `end` is set
     */
    @JvmName("iohyjxdplxopbaty")
    public suspend fun start(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.start = mapped
    }

    internal fun build(): AppQuietTimeArgs = AppQuietTimeArgs(
        end = end,
        start = start,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy