code: public void deleteSubnet(DeleteSubnetRequest deleteSubnetRequest) {
          checkNotNull(deleteSubnetRequest, "request should not be null.");
          checkNotNull(deleteSubnetRequest.getSubnetId(), "request subnetId should not be null.");
          if (Strings.isNullOrEmpty(deleteSubnetRequest.getClientToken())) {
              deleteSubnetRequest.setClientToken(this.generateClientToken());
          }
          InternalRequest internalRequest = this.createRequest(
                  deleteSubnetRequest, HttpMethodName.DELETE, SUBNET_PREFIX, deleteSubnetRequest.getSubnetId());
          internalRequest.addParameter("clientToken", deleteSubnetRequest.getClientToken());
          this.invokeHttpClient(internalRequest, AbstractBceResponse.class);
      }
docs: Delete the specified subnet owned by the user.
  <p/>
  
  @param deleteSubnetRequest the request containing all options for deleting own's subnet.