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

com.pulumi.aws.s3.kotlin.inputs.BucketIntelligentTieringConfigurationTieringArgs.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: 6.57.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.aws.s3.kotlin.inputs

import com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationTieringArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 *
 * @property accessTier S3 Intelligent-Tiering access tier. Valid values: `ARCHIVE_ACCESS`, `DEEP_ARCHIVE_ACCESS`.
 * @property days Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
 */
public data class BucketIntelligentTieringConfigurationTieringArgs(
    public val accessTier: Output,
    public val days: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationTieringArgs =
        com.pulumi.aws.s3.inputs.BucketIntelligentTieringConfigurationTieringArgs.builder()
            .accessTier(accessTier.applyValue({ args0 -> args0 }))
            .days(days.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [BucketIntelligentTieringConfigurationTieringArgs].
 */
@PulumiTagMarker
public class BucketIntelligentTieringConfigurationTieringArgsBuilder internal constructor() {
    private var accessTier: Output? = null

    private var days: Output? = null

    /**
     * @param value S3 Intelligent-Tiering access tier. Valid values: `ARCHIVE_ACCESS`, `DEEP_ARCHIVE_ACCESS`.
     */
    @JvmName("dpekthwjoqcdvuhc")
    public suspend fun accessTier(`value`: Output) {
        this.accessTier = value
    }

    /**
     * @param value Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
     */
    @JvmName("gvifsobgwhagbyvt")
    public suspend fun days(`value`: Output) {
        this.days = value
    }

    /**
     * @param value S3 Intelligent-Tiering access tier. Valid values: `ARCHIVE_ACCESS`, `DEEP_ARCHIVE_ACCESS`.
     */
    @JvmName("ksuhlwyharosmiot")
    public suspend fun accessTier(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.accessTier = mapped
    }

    /**
     * @param value Number of consecutive days of no access after which an object will be eligible to be transitioned to the corresponding tier.
     */
    @JvmName("wcaakjifqsnlpdam")
    public suspend fun days(`value`: Int) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.days = mapped
    }

    internal fun build(): BucketIntelligentTieringConfigurationTieringArgs =
        BucketIntelligentTieringConfigurationTieringArgs(
            accessTier = accessTier ?: throw PulumiNullFieldException("accessTier"),
            days = days ?: throw PulumiNullFieldException("days"),
        )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy