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

com.pulumi.azurenative.storagecache.inputs.NamespaceJunctionArgs Maven / Gradle / Ivy

There is a newer version: 2.89.2
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.azurenative.storagecache.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * A namespace junction.
 * 
 */
public final class NamespaceJunctionArgs extends com.pulumi.resources.ResourceArgs {

    public static final NamespaceJunctionArgs Empty = new NamespaceJunctionArgs();

    /**
     * Namespace path on a cache for a Storage Target.
     * 
     */
    @Import(name="namespacePath")
    private @Nullable Output namespacePath;

    /**
     * @return Namespace path on a cache for a Storage Target.
     * 
     */
    public Optional> namespacePath() {
        return Optional.ofNullable(this.namespacePath);
    }

    /**
     * Name of the access policy applied to this junction.
     * 
     */
    @Import(name="nfsAccessPolicy")
    private @Nullable Output nfsAccessPolicy;

    /**
     * @return Name of the access policy applied to this junction.
     * 
     */
    public Optional> nfsAccessPolicy() {
        return Optional.ofNullable(this.nfsAccessPolicy);
    }

    /**
     * NFS export where targetPath exists.
     * 
     */
    @Import(name="nfsExport")
    private @Nullable Output nfsExport;

    /**
     * @return NFS export where targetPath exists.
     * 
     */
    public Optional> nfsExport() {
        return Optional.ofNullable(this.nfsExport);
    }

    /**
     * Path in Storage Target to which namespacePath points.
     * 
     */
    @Import(name="targetPath")
    private @Nullable Output targetPath;

    /**
     * @return Path in Storage Target to which namespacePath points.
     * 
     */
    public Optional> targetPath() {
        return Optional.ofNullable(this.targetPath);
    }

    private NamespaceJunctionArgs() {}

    private NamespaceJunctionArgs(NamespaceJunctionArgs $) {
        this.namespacePath = $.namespacePath;
        this.nfsAccessPolicy = $.nfsAccessPolicy;
        this.nfsExport = $.nfsExport;
        this.targetPath = $.targetPath;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(NamespaceJunctionArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private NamespaceJunctionArgs $;

        public Builder() {
            $ = new NamespaceJunctionArgs();
        }

        public Builder(NamespaceJunctionArgs defaults) {
            $ = new NamespaceJunctionArgs(Objects.requireNonNull(defaults));
        }

        /**
         * @param namespacePath Namespace path on a cache for a Storage Target.
         * 
         * @return builder
         * 
         */
        public Builder namespacePath(@Nullable Output namespacePath) {
            $.namespacePath = namespacePath;
            return this;
        }

        /**
         * @param namespacePath Namespace path on a cache for a Storage Target.
         * 
         * @return builder
         * 
         */
        public Builder namespacePath(String namespacePath) {
            return namespacePath(Output.of(namespacePath));
        }

        /**
         * @param nfsAccessPolicy Name of the access policy applied to this junction.
         * 
         * @return builder
         * 
         */
        public Builder nfsAccessPolicy(@Nullable Output nfsAccessPolicy) {
            $.nfsAccessPolicy = nfsAccessPolicy;
            return this;
        }

        /**
         * @param nfsAccessPolicy Name of the access policy applied to this junction.
         * 
         * @return builder
         * 
         */
        public Builder nfsAccessPolicy(String nfsAccessPolicy) {
            return nfsAccessPolicy(Output.of(nfsAccessPolicy));
        }

        /**
         * @param nfsExport NFS export where targetPath exists.
         * 
         * @return builder
         * 
         */
        public Builder nfsExport(@Nullable Output nfsExport) {
            $.nfsExport = nfsExport;
            return this;
        }

        /**
         * @param nfsExport NFS export where targetPath exists.
         * 
         * @return builder
         * 
         */
        public Builder nfsExport(String nfsExport) {
            return nfsExport(Output.of(nfsExport));
        }

        /**
         * @param targetPath Path in Storage Target to which namespacePath points.
         * 
         * @return builder
         * 
         */
        public Builder targetPath(@Nullable Output targetPath) {
            $.targetPath = targetPath;
            return this;
        }

        /**
         * @param targetPath Path in Storage Target to which namespacePath points.
         * 
         * @return builder
         * 
         */
        public Builder targetPath(String targetPath) {
            return targetPath(Output.of(targetPath));
        }

        public NamespaceJunctionArgs build() {
            $.nfsAccessPolicy = Codegen.stringProp("nfsAccessPolicy").output().arg($.nfsAccessPolicy).def("default").getNullable();
            return $;
        }
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy