com.pulumi.awsnative.s3.kotlin.outputs.BucketStorageClassAnalysis.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-native-kotlin Show documentation
Show all versions of pulumi-aws-native-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.awsnative.s3.kotlin.outputs
import kotlin.Suppress
/**
* 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 BucketStorageClassAnalysis(
public val dataExport: BucketDataExport? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.awsnative.s3.outputs.BucketStorageClassAnalysis): BucketStorageClassAnalysis = BucketStorageClassAnalysis(
dataExport = javaType.dataExport().map({ args0 ->
args0.let({ args0 ->
com.pulumi.awsnative.s3.kotlin.outputs.BucketDataExport.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}