code: public PagedList<JobStreamInner> listByJob(final String resourceGroupName, final String automationAccountName, final String jobId, final String filter) {
          ServiceResponse<Page<JobStreamInner>> response = listByJobSinglePageAsync(resourceGroupName, automationAccountName, jobId, filter).toBlocking().single();
          return new PagedList<JobStreamInner>(response.body()) {
              @Override
              public Page<JobStreamInner> nextPage(String nextPageLink) {
                  return listByJobNextSinglePageAsync(nextPageLink).toBlocking().single().body();
              }
          };
      }
docs: Retrieve a list of jobs streams identified by job id.
  
  @param resourceGroupName Name of an Azure Resource group.
  @param automationAccountName The name of the automation account.
  @param jobId The job Id.
  @param filter The filter to apply on the operation.
  @throws IllegalArgumentException thrown if parameters fail the validation
  @throws ErrorResponseException thrown if the request is rejected by server
  @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
  @return the PagedList&lt;JobStreamInner&gt; object if successful.