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

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

package com.pulumi.awsnative.s3.kotlin.inputs

import com.pulumi.awsnative.s3.inputs.BucketStorageClassAnalysisArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.jvm.JvmName

/**
 * Specifies data related to access patterns to be collected and made available to analyze the tradeoffs between different storage classes for an Amazon S3 bucket.
 * @property dataExport Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
 */
public data class BucketStorageClassAnalysisArgs(
    public val dataExport: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.awsnative.s3.inputs.BucketStorageClassAnalysisArgs =
        com.pulumi.awsnative.s3.inputs.BucketStorageClassAnalysisArgs.builder()
            .dataExport(dataExport?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}

/**
 * Builder for [BucketStorageClassAnalysisArgs].
 */
@PulumiTagMarker
public class BucketStorageClassAnalysisArgsBuilder internal constructor() {
    private var dataExport: Output? = null

    /**
     * @param value Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
     */
    @JvmName("tjrqkoqetqmcxpqp")
    public suspend fun dataExport(`value`: Output) {
        this.dataExport = value
    }

    /**
     * @param value Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
     */
    @JvmName("sagmneywswvrvbwl")
    public suspend fun dataExport(`value`: BucketDataExportArgs?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.dataExport = mapped
    }

    /**
     * @param argument Specifies how data related to the storage class analysis for an Amazon S3 bucket should be exported.
     */
    @JvmName("kbwxedoraattykff")
    public suspend fun dataExport(argument: suspend BucketDataExportArgsBuilder.() -> Unit) {
        val toBeMapped = BucketDataExportArgsBuilder().applySuspend { argument() }.build()
        val mapped = of(toBeMapped)
        this.dataExport = mapped
    }

    internal fun build(): BucketStorageClassAnalysisArgs = BucketStorageClassAnalysisArgs(
        dataExport = dataExport,
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy