public OnPremConfig withAgentArns(String... agentArns) {
        if (this.agentArns == null) {
            setAgentArns(new java.util.ArrayList<String>(agentArns.length));
        }
        for (String ele : agentArns) {
            this.agentArns.add(ele);
        }
        return this;
    }
public OnPremConfig withAgentArns ( String ... agentArns ) { if ( this . agentArns == null ) { setAgentArns ( new java . util . ArrayList < String > ( agentArns . length ) ) ; } for ( String ele : agentArns ) { this . agentArns . add ( ele ) ; } return this ; }
<p>
ARNs)of the agents to use for an NFS location.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAgentArns(java.util.Collection)} or {@link #withAgentArns(java.util.Collection)} if you want to
override the existing values.
</p>

@param agentArns
ARNs)of the agents to use for an NFS location.
@return Returns a reference to this object so that method calls can be chained together.