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

com.pulumi.gcp.cloudbuild.kotlin.inputs.TriggerBuildArtifactsObjectsTimingArgs.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: 8.12.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.cloudbuild.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsTimingArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property endTime End of time span.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
 * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
 * @property startTime Start of time span.
 * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
 * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
 */
public data class TriggerBuildArtifactsObjectsTimingArgs(
    public val endTime: Output? = null,
    public val startTime: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsTimingArgs =
        com.pulumi.gcp.cloudbuild.inputs.TriggerBuildArtifactsObjectsTimingArgs.builder()
            .endTime(endTime?.applyValue({ args0 -> args0 }))
            .startTime(startTime?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [TriggerBuildArtifactsObjectsTimingArgs].
 */
@PulumiTagMarker
public class TriggerBuildArtifactsObjectsTimingArgsBuilder internal constructor() {
    private var endTime: Output? = null

    private var startTime: Output? = null

    /**
     * @param value End of time span.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
     * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    @JvmName("jaophwrlhbbcluik")
    public suspend fun endTime(`value`: Output) {
        this.endTime = value
    }

    /**
     * @param value Start of time span.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
     * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    @JvmName("narqnqwxeppktaxt")
    public suspend fun startTime(`value`: Output) {
        this.startTime = value
    }

    /**
     * @param value End of time span.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
     * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    @JvmName("kmpsjrqkgnauynob")
    public suspend fun endTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.endTime = mapped
    }

    /**
     * @param value Start of time span.
     * A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to
     * nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
     */
    @JvmName("fqktfnlvufgclncj")
    public suspend fun startTime(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.startTime = mapped
    }

    internal fun build(): TriggerBuildArtifactsObjectsTimingArgs =
        TriggerBuildArtifactsObjectsTimingArgs(
            endTime = endTime,
            startTime = startTime,
        )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy