// *** 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.outputs;

import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class NfsLocationOnPremConfig {
    /**
     * @return List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
     * 
     */
    private List<String> agentArns;

    private NfsLocationOnPremConfig() {}
    /**
     * @return List of Amazon Resource Names (ARNs) of the DataSync Agents used to connect to the NFS server.
     * 
     */
    public List<String> agentArns() {
        return this.agentArns;
    }

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

    public static Builder builder(NfsLocationOnPremConfig defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List<String> agentArns;
        public Builder() {}
        public Builder(NfsLocationOnPremConfig defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.agentArns = defaults.agentArns;
        }

        @CustomType.Setter
        public Builder agentArns(List<String> agentArns) {
            this.agentArns = Objects.requireNonNull(agentArns);
            return this;
        }
        public Builder agentArns(String... agentArns) {
            return agentArns(List.of(agentArns));
        }
        public NfsLocationOnPremConfig build() {
            final var o = new NfsLocationOnPremConfig();
            o.agentArns = agentArns;
            return o;
        }
    }
}
