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

com.pulumi.aws.bcmdata.kotlin.outputs.ExportTimeouts.kt Maven / Gradle / Ivy

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

package com.pulumi.aws.bcmdata.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 *
 * @property create A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
 * @property update A string that can be [parsed as a duration](https://pkg.go.dev/time#ParseDuration) consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
 */
public data class ExportTimeouts(
    public val create: String? = null,
    public val update: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.aws.bcmdata.outputs.ExportTimeouts): ExportTimeouts =
            ExportTimeouts(
                create = javaType.create().map({ args0 -> args0 }).orElse(null),
                update = javaType.update().map({ args0 -> args0 }).orElse(null),
            )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy