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

com.pulumi.gcp.netapp.kotlin.inputs.VolumeTieringPolicyArgs.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.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.netapp.kotlin.inputs

import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.netapp.inputs.VolumeTieringPolicyArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property coolingThresholdDays Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 7-183.
 * Default is 31.
 * @property tierAction Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
 * Default value is `PAUSED`.
 * Possible values are: `ENABLED`, `PAUSED`.
 */
public data class VolumeTieringPolicyArgs(
    public val coolingThresholdDays: Output? = null,
    public val tierAction: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.gcp.netapp.inputs.VolumeTieringPolicyArgs =
        com.pulumi.gcp.netapp.inputs.VolumeTieringPolicyArgs.builder()
            .coolingThresholdDays(coolingThresholdDays?.applyValue({ args0 -> args0 }))
            .tierAction(tierAction?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [VolumeTieringPolicyArgs].
 */
@PulumiTagMarker
public class VolumeTieringPolicyArgsBuilder internal constructor() {
    private var coolingThresholdDays: Output? = null

    private var tierAction: Output? = null

    /**
     * @param value Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 7-183.
     * Default is 31.
     */
    @JvmName("kdbcsqrcrlvikbem")
    public suspend fun coolingThresholdDays(`value`: Output) {
        this.coolingThresholdDays = value
    }

    /**
     * @param value Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
     * Default value is `PAUSED`.
     * Possible values are: `ENABLED`, `PAUSED`.
     */
    @JvmName("rjmesqbckhaynxqk")
    public suspend fun tierAction(`value`: Output) {
        this.tierAction = value
    }

    /**
     * @param value Optional. Time in days to mark the volume's data block as cold and make it eligible for tiering, can be range from 7-183.
     * Default is 31.
     */
    @JvmName("lcocnximyouxpgvy")
    public suspend fun coolingThresholdDays(`value`: Int?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.coolingThresholdDays = mapped
    }

    /**
     * @param value Optional. Flag indicating if the volume has tiering policy enable/pause. Default is PAUSED.
     * Default value is `PAUSED`.
     * Possible values are: `ENABLED`, `PAUSED`.
     */
    @JvmName("vouicijwffpofxfq")
    public suspend fun tierAction(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.tierAction = mapped
    }

    internal fun build(): VolumeTieringPolicyArgs = VolumeTieringPolicyArgs(
        coolingThresholdDays = coolingThresholdDays,
        tierAction = tierAction,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy