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

com.pulumi.azurenative.datareplication.kotlin.inputs.StorageContainerPropertiesArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.datareplication.kotlin.inputs

import com.pulumi.azurenative.datareplication.inputs.StorageContainerPropertiesArgs.builder
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiNullFieldException
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.String
import kotlin.Suppress
import kotlin.jvm.JvmName

/**
 * Storage container properties.
 * @property clusterSharedVolumePath Gets or sets the ClusterSharedVolumePath.
 * @property name Gets or sets the Name.
 */
public data class StorageContainerPropertiesArgs(
    public val clusterSharedVolumePath: Output,
    public val name: Output,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azurenative.datareplication.inputs.StorageContainerPropertiesArgs =
        com.pulumi.azurenative.datareplication.inputs.StorageContainerPropertiesArgs.builder()
            .clusterSharedVolumePath(clusterSharedVolumePath.applyValue({ args0 -> args0 }))
            .name(name.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [StorageContainerPropertiesArgs].
 */
@PulumiTagMarker
public class StorageContainerPropertiesArgsBuilder internal constructor() {
    private var clusterSharedVolumePath: Output? = null

    private var name: Output? = null

    /**
     * @param value Gets or sets the ClusterSharedVolumePath.
     */
    @JvmName("bbkigpesqpekgnhu")
    public suspend fun clusterSharedVolumePath(`value`: Output) {
        this.clusterSharedVolumePath = value
    }

    /**
     * @param value Gets or sets the Name.
     */
    @JvmName("uxrxqydcqejmskgy")
    public suspend fun name(`value`: Output) {
        this.name = value
    }

    /**
     * @param value Gets or sets the ClusterSharedVolumePath.
     */
    @JvmName("qjuovhgtefcdjmiw")
    public suspend fun clusterSharedVolumePath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.clusterSharedVolumePath = mapped
    }

    /**
     * @param value Gets or sets the Name.
     */
    @JvmName("munscssmwrkdbvpi")
    public suspend fun name(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.name = mapped
    }

    internal fun build(): StorageContainerPropertiesArgs = StorageContainerPropertiesArgs(
        clusterSharedVolumePath = clusterSharedVolumePath ?: throw
            PulumiNullFieldException("clusterSharedVolumePath"),
        name = name ?: throw PulumiNullFieldException("name"),
    )
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy