code: public static HttpPipeline createDefaultPipeline(Class<?> swaggerInterface, AsyncServiceClientCredentials credentials) {
          return createDefaultPipeline(swaggerInterface, new AsyncCredentialsPolicy(credentials));
      }
docs: Create the default HttpPipeline.
  @param swaggerInterface The interface that the pipeline will use to generate a user-agent
  string.
  @param credentials The credentials to use to apply authentication to the pipeline.
  @return the default HttpPipeline.