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

com.pulumi.gcp.container.kotlin.outputs.ClusterMaintenancePolicyDailyMaintenanceWindow.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.container.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property duration Duration of the time window, automatically chosen to be
 * smallest possible in the given scenario.
 * Duration will be in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) format "PTnHnMnS".
 * @property startTime
 */
public data class ClusterMaintenancePolicyDailyMaintenanceWindow(
    public val duration: String? = null,
    public val startTime: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.container.outputs.ClusterMaintenancePolicyDailyMaintenanceWindow): ClusterMaintenancePolicyDailyMaintenanceWindow =
            ClusterMaintenancePolicyDailyMaintenanceWindow(
                duration = javaType.duration().map({ args0 -> args0 }).orElse(null),
                startTime = javaType.startTime(),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy