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

com.pulumi.gcp.dataproc.kotlin.outputs.BatchRuntimeInfoCurrentUsage.kt Maven / Gradle / Ivy

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

package com.pulumi.gcp.dataproc.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property acceleratorType (Output)
 * Accelerator type being used, if any.
 * @property milliAccelerator (Output)
 * Milli (one-thousandth) accelerator..
 * @property milliDcu (Output)
 * Milli (one-thousandth) Dataproc Compute Units (DCUs).
 * @property milliDcuPremium (Output)
 * Milli (one-thousandth) Dataproc Compute Units (DCUs) charged at premium tier.
 * @property shuffleStorageGb (Output)
 * Shuffle Storage in gigabytes (GB).
 * @property shuffleStorageGbPremium (Output)
 * Shuffle Storage in gigabytes (GB) charged at premium tier.
 * @property snapshotTime (Output)
 * The timestamp of the usage snapshot.
 */
public data class BatchRuntimeInfoCurrentUsage(
    public val acceleratorType: String? = null,
    public val milliAccelerator: String? = null,
    public val milliDcu: String? = null,
    public val milliDcuPremium: String? = null,
    public val shuffleStorageGb: String? = null,
    public val shuffleStorageGbPremium: String? = null,
    public val snapshotTime: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.dataproc.outputs.BatchRuntimeInfoCurrentUsage): BatchRuntimeInfoCurrentUsage = BatchRuntimeInfoCurrentUsage(
            acceleratorType = javaType.acceleratorType().map({ args0 -> args0 }).orElse(null),
            milliAccelerator = javaType.milliAccelerator().map({ args0 -> args0 }).orElse(null),
            milliDcu = javaType.milliDcu().map({ args0 -> args0 }).orElse(null),
            milliDcuPremium = javaType.milliDcuPremium().map({ args0 -> args0 }).orElse(null),
            shuffleStorageGb = javaType.shuffleStorageGb().map({ args0 -> args0 }).orElse(null),
            shuffleStorageGbPremium = javaType.shuffleStorageGbPremium().map({ args0 -> args0 }).orElse(null),
            snapshotTime = javaType.snapshotTime().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy