code: @Override
      public RebuildEnvironmentResult rebuildEnvironment(RebuildEnvironmentRequest request) {
          request = beforeClientExecution(request);
          return executeRebuildEnvironment(request);
      }
docs: <p>
  Deletes and recreates all of the AWS resources (for example: the Auto Scaling group, load balancer, etc.) for a
  specified environment and forces a restart.
  </p>
  
  @param rebuildEnvironmentRequest
  @return Result of the RebuildEnvironment operation returned by the service.
  @throws InsufficientPrivilegesException
  The specified account does not have sufficient privileges for one or more AWS services.
  @sample AWSElasticBeanstalk.RebuildEnvironment
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/elasticbeanstalk-2010-12-01/RebuildEnvironment"
  target="_top">AWS API Documentation</a>