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

com.pulumi.azure.hpc.kotlin.inputs.CacheNfsTargetNamespaceJunctionArgs.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.hpc.kotlin.inputs

import com.pulumi.azure.hpc.inputs.CacheNfsTargetNamespaceJunctionArgs.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

/**
 *
 * @property accessPolicyName The name of the access policy applied to this target. Defaults to `default`.
 * @property namespacePath The client-facing file path of this NFS target within the HPC Cache NFS Target.
 * @property nfsExport The NFS export of this NFS target within the HPC Cache NFS Target.
 * @property targetPath The relative subdirectory path from the `nfs_export` to map to the `namespace_path`. Defaults to `""`, in which case the whole `nfs_export` is exported.
 */
public data class CacheNfsTargetNamespaceJunctionArgs(
    public val accessPolicyName: Output? = null,
    public val namespacePath: Output,
    public val nfsExport: Output,
    public val targetPath: Output? = null,
) : ConvertibleToJava {
    override fun toJava(): com.pulumi.azure.hpc.inputs.CacheNfsTargetNamespaceJunctionArgs =
        com.pulumi.azure.hpc.inputs.CacheNfsTargetNamespaceJunctionArgs.builder()
            .accessPolicyName(accessPolicyName?.applyValue({ args0 -> args0 }))
            .namespacePath(namespacePath.applyValue({ args0 -> args0 }))
            .nfsExport(nfsExport.applyValue({ args0 -> args0 }))
            .targetPath(targetPath?.applyValue({ args0 -> args0 })).build()
}

/**
 * Builder for [CacheNfsTargetNamespaceJunctionArgs].
 */
@PulumiTagMarker
public class CacheNfsTargetNamespaceJunctionArgsBuilder internal constructor() {
    private var accessPolicyName: Output? = null

    private var namespacePath: Output? = null

    private var nfsExport: Output? = null

    private var targetPath: Output? = null

    /**
     * @param value The name of the access policy applied to this target. Defaults to `default`.
     */
    @JvmName("dvgiyvlqrgafivxb")
    public suspend fun accessPolicyName(`value`: Output) {
        this.accessPolicyName = value
    }

    /**
     * @param value The client-facing file path of this NFS target within the HPC Cache NFS Target.
     */
    @JvmName("pewakqputpooddxl")
    public suspend fun namespacePath(`value`: Output) {
        this.namespacePath = value
    }

    /**
     * @param value The NFS export of this NFS target within the HPC Cache NFS Target.
     */
    @JvmName("kplafsnybxwlhvrg")
    public suspend fun nfsExport(`value`: Output) {
        this.nfsExport = value
    }

    /**
     * @param value The relative subdirectory path from the `nfs_export` to map to the `namespace_path`. Defaults to `""`, in which case the whole `nfs_export` is exported.
     */
    @JvmName("xapohblullmprqfo")
    public suspend fun targetPath(`value`: Output) {
        this.targetPath = value
    }

    /**
     * @param value The name of the access policy applied to this target. Defaults to `default`.
     */
    @JvmName("fhrcoqkjiqwarhxx")
    public suspend fun accessPolicyName(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.accessPolicyName = mapped
    }

    /**
     * @param value The client-facing file path of this NFS target within the HPC Cache NFS Target.
     */
    @JvmName("imuuxvtnbikthgqm")
    public suspend fun namespacePath(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.namespacePath = mapped
    }

    /**
     * @param value The NFS export of this NFS target within the HPC Cache NFS Target.
     */
    @JvmName("mylyceyteqdgqmju")
    public suspend fun nfsExport(`value`: String) {
        val toBeMapped = value
        val mapped = toBeMapped.let({ args0 -> of(args0) })
        this.nfsExport = mapped
    }

    /**
     * @param value The relative subdirectory path from the `nfs_export` to map to the `namespace_path`. Defaults to `""`, in which case the whole `nfs_export` is exported.
     */
    @JvmName("eohdopwfyyyundfv")
    public suspend fun targetPath(`value`: String?) {
        val toBeMapped = value
        val mapped = toBeMapped?.let({ args0 -> of(args0) })
        this.targetPath = mapped
    }

    internal fun build(): CacheNfsTargetNamespaceJunctionArgs = CacheNfsTargetNamespaceJunctionArgs(
        accessPolicyName = accessPolicyName,
        namespacePath = namespacePath ?: throw PulumiNullFieldException("namespacePath"),
        nfsExport = nfsExport ?: throw PulumiNullFieldException("nfsExport"),
        targetPath = targetPath,
    )
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy