// *** 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.aws.datasync.inputs;

import com.pulumi.aws.datasync.inputs.FsxOpenZfsFileSystemProtocolNfsArgs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.util.Objects;


public final class FsxOpenZfsFileSystemProtocolArgs extends com.pulumi.resources.ResourceArgs {

    public static final FsxOpenZfsFileSystemProtocolArgs Empty = new FsxOpenZfsFileSystemProtocolArgs();

    /**
     * Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
     * 
     */
    @Import(name="nfs", required=true)
    private Output<FsxOpenZfsFileSystemProtocolNfsArgs> nfs;

    /**
     * @return Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
     * 
     */
    public Output<FsxOpenZfsFileSystemProtocolNfsArgs> nfs() {
        return this.nfs;
    }

    private FsxOpenZfsFileSystemProtocolArgs() {}

    private FsxOpenZfsFileSystemProtocolArgs(FsxOpenZfsFileSystemProtocolArgs $) {
        this.nfs = $.nfs;
    }

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

    public static final class Builder {
        private FsxOpenZfsFileSystemProtocolArgs $;

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

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

        /**
         * @param nfs Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
         * 
         * @return builder
         * 
         */
        public Builder nfs(Output<FsxOpenZfsFileSystemProtocolNfsArgs> nfs) {
            $.nfs = nfs;
            return this;
        }

        /**
         * @param nfs Represents the Network File System (NFS) protocol that DataSync uses to access your FSx for OpenZFS file system. See below.
         * 
         * @return builder
         * 
         */
        public Builder nfs(FsxOpenZfsFileSystemProtocolNfsArgs nfs) {
            return nfs(Output.of(nfs));
        }

        public FsxOpenZfsFileSystemProtocolArgs build() {
            $.nfs = Objects.requireNonNull($.nfs, "expected parameter 'nfs' to be non-null");
            return $;
        }
    }

}
