code: public UpdateSecurityPolicyResponse updateSecurityPolicy(UpdateSecurityPolicyRequest request) {
          checkNotNull(request, "The parameter request should NOT be null.");
          checkStringNotEmpty(request.getName(), "The parameter name should NOT be null or empty string.");
          UpdateSecurityPolicyInnerRequest innerRequest = new UpdateSecurityPolicyInnerRequest();
          innerRequest.withAuth(request.getAuth()).withAntiLeech(request.getAntiLeech())
                  .withEncryption(request.getEncryption());
          InternalRequest internalRequest = createRequest(HttpMethodName.PUT, innerRequest, LIVE_SECURITY_POLICY,
                  request.getName());
          return invokeHttpClient(internalRequest, UpdateSecurityPolicyResponse.class);
  
      }
docs: Update your live security policy by live security policy name.
  
  @param request The request object containing all parameters for updating live security policy.
  @return the response