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

com.pulumi.azure.storage.kotlin.outputs.AccountQueueProperties.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property corsRules A `cors_rule` block as defined above.
 * @property hourMetrics A `hour_metrics` block as defined below.
 * @property logging A `logging` block as defined below.
 * @property minuteMetrics A `minute_metrics` block as defined below.
 */
public data class AccountQueueProperties(
    public val corsRules: List? = null,
    public val hourMetrics: AccountQueuePropertiesHourMetrics? = null,
    public val logging: AccountQueuePropertiesLogging? = null,
    public val minuteMetrics: AccountQueuePropertiesMinuteMetrics? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.AccountQueueProperties): AccountQueueProperties = AccountQueueProperties(
            corsRules = javaType.corsRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.storage.kotlin.outputs.AccountQueuePropertiesCorsRule.Companion.toKotlin(args0)
                })
            }),
            hourMetrics = javaType.hourMetrics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.storage.kotlin.outputs.AccountQueuePropertiesHourMetrics.Companion.toKotlin(args0)
                })
            }).orElse(null),
            logging = javaType.logging().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.storage.kotlin.outputs.AccountQueuePropertiesLogging.Companion.toKotlin(args0)
                })
            }).orElse(null),
            minuteMetrics = javaType.minuteMetrics().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.storage.kotlin.outputs.AccountQueuePropertiesMinuteMetrics.Companion.toKotlin(args0)
                })
            }).orElse(null),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy