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

com.pulumi.gcp.alloydb.kotlin.outputs.ClusterContinuousBackupInfo.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.alloydb.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property earliestRestorableTime (Output)
 * The earliest restorable time that can be restored to. Output only field.
 * @property enabledTime (Output)
 * When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
 * @property encryptionInfos (Output)
 * Output only. The encryption information for the WALs and backups required for ContinuousBackup.
 * Structure is documented below.
 * @property schedules (Output)
 * Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
 */
public data class ClusterContinuousBackupInfo(
    public val earliestRestorableTime: String? = null,
    public val enabledTime: String? = null,
    public val encryptionInfos: List? = null,
    public val schedules: List? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.alloydb.outputs.ClusterContinuousBackupInfo): ClusterContinuousBackupInfo = ClusterContinuousBackupInfo(
            earliestRestorableTime = javaType.earliestRestorableTime().map({ args0 -> args0 }).orElse(null),
            enabledTime = javaType.enabledTime().map({ args0 -> args0 }).orElse(null),
            encryptionInfos = javaType.encryptionInfos().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.alloydb.kotlin.outputs.ClusterContinuousBackupInfoEncryptionInfo.Companion.toKotlin(args0)
                })
            }),
            schedules = javaType.schedules().map({ args0 -> args0 }),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy