/**
  * Set the HTTP status. This is the status that will be returned by {@link
  * com.linkedin.restli.client.Response#getStatus()}
  *
  * <p>An {@link IllegalArgumentException} is thrown if the status is not in the range [200, 300).
  *
  * @param status the HTTP status we want to set
  * @return
  */
 @Override
 public MockSuccessfulResponseFutureBuilder<T> setStatus(int status) {
   if (status < 200 || status >= 300) {
     throw new IllegalArgumentException("Status must be a 2xx HTTP status!");
   }
   super.setStatus(status);
   return this;
 }
 /**
  * Sets the headers. This will be returned by {@link
  * com.linkedin.restli.client.Response#getHeaders()}
  *
  * @param headers the headers we want to set
  * @return
  */
 @Override
 public MockSuccessfulResponseFutureBuilder<T> setHeaders(Map<String, String> headers) {
   super.setHeaders(headers);
   return this;
 }
 /**
  * Set the ID. This will be returned by {@link com.linkedin.restli.client.Response#getId()}
  *
  * <p>This ID is stored in the header of the {@link Response}.
  *
  * <p>If the Rest.li 1.0 protocol is being used the header key is {@link
  * com.linkedin.restli.common.RestConstants#HEADER_ID}
  *
  * <p>If the Rets.li 2.0 protocol is being used the header key is {@link
  * com.linkedin.restli.common.RestConstants#HEADER_RESTLI_ID}
  *
  * @param id the ID we want to set
  * @return
  */
 @Override
 public MockSuccessfulResponseFutureBuilder<T> setId(String id) {
   super.setId(id);
   return this;
 }
 /**
  * Set the entity. This is the object that will be returned by {@link
  * com.linkedin.restli.client.Response#getEntity()}
  *
  * @param entity the entity to set
  * @return
  */
 @Override
 public MockSuccessfulResponseFutureBuilder<T> setEntity(T entity) {
   super.setEntity(entity);
   return this;
 }
 /**
  * Set the {@link ProtocolVersion}
  *
  * @param protocolVersion the {@link ProtocolVersion} to set
  * @return
  */
 @Override
 public MockSuccessfulResponseFutureBuilder<T> setProtocolVersion(
     ProtocolVersion protocolVersion) {
   super.setProtocolVersion(protocolVersion);
   return this;
 }