com.pulumi.gcp.cloudbuild.kotlin.outputs.TriggerBuildOptionsVolume.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-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.gcp.cloudbuild.kotlin.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property name Name of the volume to mount.
* Volume names must be unique per build step and must be valid names for Docker volumes.
* Each named volume must be used by at least two build steps.
* @property path Path at which to mount the volume.
* Paths must be absolute and cannot conflict with other volume paths on the same
* build step or with certain reserved volume paths.
*/
public data class TriggerBuildOptionsVolume(
public val name: String? = null,
public val path: String? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.cloudbuild.outputs.TriggerBuildOptionsVolume): TriggerBuildOptionsVolume = TriggerBuildOptionsVolume(
name = javaType.name().map({ args0 -> args0 }).orElse(null),
path = javaType.path().map({ args0 -> args0 }).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy