public UpdateLocationSmbRequest withAgentArns(java.util.Collection<String> agentArns) {
        setAgentArns(agentArns);
        return this;
    }
<p>
Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an agent
by using its Amazon Resource Name (ARN).
</p>

@param agentArns
       Specifies the DataSync agent (or agents) which you want to connect to your SMB file server. You specify an
       agent by using its Amazon Resource Name (ARN).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/UpdateLocationSmbRequest.java