code: public static HttpURLConnection setServiceProperties(final URI uri, final RequestOptions options,
              UriQueryBuilder builder, final OperationContext opContext) throws IOException, URISyntaxException,
              StorageException {
          if (builder == null) {
              builder = new UriQueryBuilder();
          }
  
          builder.add(Constants.QueryConstants.COMPONENT, Constants.QueryConstants.PROPERTIES);
          builder.add(Constants.QueryConstants.RESOURCETYPE, SERVICE);
  
          final HttpURLConnection retConnection = createURLConnection(uri, options, builder, opContext);
  
          retConnection.setDoOutput(true);
          retConnection.setRequestMethod(Constants.HTTP_PUT);
  
          return retConnection;
      }
docs: Creates a HttpURLConnection used to set the Analytics service properties on the storage service.
  
  @param uri
  The service endpoint.
  @param timeout
  The timeout.
  @param builder
  The builder.
  @param opContext
  an object used to track the execution of the operation
  @return a web request for performing the operation.
  @throws IOException
  @throws URISyntaxException
  @throws StorageException