code: public Observable<PacketCaptureResultInner> getAsync(String resourceGroupName, String networkWatcherName, String packetCaptureName) {
          return getWithServiceResponseAsync(resourceGroupName, networkWatcherName, packetCaptureName).map(new Func1<ServiceResponse<PacketCaptureResultInner>, PacketCaptureResultInner>() {
              @Override
              public PacketCaptureResultInner call(ServiceResponse<PacketCaptureResultInner> response) {
                  return response.body();
              }
          });
      }
docs: Gets a packet capture session by name.
  
  @param resourceGroupName The name of the resource group.
  @param networkWatcherName The name of the network watcher.
  @param packetCaptureName The name of the packet capture session.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @return the observable to the PacketCaptureResultInner object