com.pulumi.gcp.netapp.kotlin.outputs.VolumeSnapshotPolicyDailySchedule.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.Suppress
/**
*
* @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 daily schedule.
*/
public data class VolumeSnapshotPolicyDailySchedule(
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.VolumeSnapshotPolicyDailySchedule): VolumeSnapshotPolicyDailySchedule = VolumeSnapshotPolicyDailySchedule(
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