com.pulumi.gcp.redis.kotlin.outputs.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.redis.kotlin.outputs
import kotlin.Int
import kotlin.Suppress
/**
*
* @property hours Hours of day in 24 hour format. Should be from 0 to 23.
* An API may choose to allow the value "24:00:00" for scenarios like business closing time.
* @property minutes Minutes of hour of day. Must be from 0 to 59.
* @property nanos Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
* @property seconds Seconds of minutes of the time. Must normally be from 0 to 59.
* An API may allow the value 60 if it allows leap-seconds.
*/
public data class InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime(
public val hours: Int? = null,
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.redis.outputs.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime): InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime =
InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime(
hours = javaType.hours().map({ args0 -> args0 }).orElse(null),
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