code: public CreateBucketResponse createBucket(CreateBucketRequest request) {
          checkNotNull(request, "request should not be null.");
  
          InternalRequest internalRequest = this.createRequest(request, HttpMethodName.PUT);
          this.setZeroContentLength(internalRequest);
          BosResponse response = this.invokeHttpClient(internalRequest, BosResponse.class);
          CreateBucketResponse result = new CreateBucketResponse();
          result.setName(request.getBucketName());
          result.setLocation(response.getMetadata().getLocation());
          return result;
      }
docs: Creates a new Bos bucket with the specified name.
  
  @param request The request object containing all options for creating a Bos bucket.
  @return The newly created bucket.