com.pulumi.gcp.netapp.kotlin.outputs.VolumeSnapshotPolicyWeeklySchedule.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.netapp.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property day Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
* @property hour Set the hour to create the snapshot (0-23), defaults to midnight (0).
* @property minute Set the minute of the hour to create the snapshot (0-59), defaults to the top of the hour (0).
* @property snapshotsToKeep The maximum number of snapshots to keep for the weekly schedule.
*/
public data class VolumeSnapshotPolicyWeeklySchedule(
public val day: String? = null,
public val hour: Int? = null,
public val minute: Int? = null,
public val snapshotsToKeep: Int,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.netapp.outputs.VolumeSnapshotPolicyWeeklySchedule): VolumeSnapshotPolicyWeeklySchedule = VolumeSnapshotPolicyWeeklySchedule(
day = javaType.day().map({ args0 -> args0 }).orElse(null),
hour = javaType.hour().map({ args0 -> args0 }).orElse(null),
minute = javaType.minute().map({ args0 -> args0 }).orElse(null),
snapshotsToKeep = javaType.snapshotsToKeep(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy