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

com.pulumi.gcp.netapp.kotlin.outputs.VolumeSnapshotPolicyDailySchedule.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.12.0.0
Show newest version
@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