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

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime.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.10.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.alloydb.kotlin.outputs

import kotlin.Int
import kotlin.Suppress

/**
 *
 * @property hours Hours of day in 24 hour format. Should be from 0 to 23.
 * @property minutes Minutes of hour of day. Currently, only the value 0 is supported.
 * @property nanos Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
 * @property seconds Seconds of minutes of the time. Currently, only the value 0 is supported.
 */
public data class ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime(
    public val hours: Int,
    public val minutes: Int? = null,
    public val nanos: Int? = null,
    public val seconds: Int? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime): ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime =
            ClusterMaintenanceUpdatePolicyMaintenanceWindowStartTime(
                hours = javaType.hours(),
                minutes = javaType.minutes().map({ args0 -> args0 }).orElse(null),
                nanos = javaType.nanos().map({ args0 -> args0 }).orElse(null),
                seconds = javaType.seconds().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy