code: public void terminateCluster(TerminateClusterRequest request) {
          checkNotNull(request, "request should not be null.");
          checkStringNotEmpty(request.getClusterId(), "The parameter clusterId should not be null or empty string.");
  
          InternalRequest internalRequest = this.createRequest(
                  request, HttpMethodName.DELETE, CLUSTER, request.getClusterId());
  
          this.invokeHttpClient(internalRequest, AbstractBceResponse.class);
      }
docs: Terminate a BMR cluster and release all the virtual machine instances.
  
  @param request The request containing the ID of the cluster to be terminated.