com.pulumi.aws.s3.kotlin.outputs.BucketV2ReplicationConfigurationRuleDestinationMetric.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-aws-kotlin Show documentation
Show all versions of pulumi-aws-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.aws.s3.kotlin.outputs
import kotlin.Int
import kotlin.String
import kotlin.Suppress
/**
*
* @property minutes Threshold within which objects are to be replicated. The only valid value is `15`.
* @property status Status of replication metrics. Either `Enabled` or `Disabled`.
*/
public data class BucketV2ReplicationConfigurationRuleDestinationMetric(
public val minutes: Int? = null,
public val status: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.aws.s3.outputs.BucketV2ReplicationConfigurationRuleDestinationMetric): BucketV2ReplicationConfigurationRuleDestinationMetric =
BucketV2ReplicationConfigurationRuleDestinationMetric(
minutes = javaType.minutes().map({ args0 -> args0 }).orElse(null),
status = javaType.status().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy