com.pulumi.gcp.memcache.kotlin.outputs.InstanceMaintenancePolicyWeeklyMaintenanceWindow.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.memcache.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property day Required. The day of week that maintenance updates occur.
* - DAY_OF_WEEK_UNSPECIFIED: The day of the week is unspecified.
* - MONDAY: Monday
* - TUESDAY: Tuesday
* - WEDNESDAY: Wednesday
* - THURSDAY: Thursday
* - FRIDAY: Friday
* - SATURDAY: Saturday
* - SUNDAY: Sunday
* Possible values are: `DAY_OF_WEEK_UNSPECIFIED`, `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
* @property duration Required. The length of the maintenance window, ranging from 3 hours to 8 hours.
* A duration in seconds with up to nine fractional digits,
* terminated by 's'. Example: "3.5s".
* @property startTime Required. Start time of the window in UTC time.
* Structure is documented below.
*/
public data class InstanceMaintenancePolicyWeeklyMaintenanceWindow(
public val day: String,
public val duration: String,
public val startTime: InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.memcache.outputs.InstanceMaintenancePolicyWeeklyMaintenanceWindow): InstanceMaintenancePolicyWeeklyMaintenanceWindow =
InstanceMaintenancePolicyWeeklyMaintenanceWindow(
day = javaType.day(),
duration = javaType.duration(),
startTime = javaType.startTime().let({ args0 ->
com.pulumi.gcp.memcache.kotlin.outputs.InstanceMaintenancePolicyWeeklyMaintenanceWindowStartTime.Companion.toKotlin(args0)
}),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy