code: public void setChaincodeEndorsementPolicy(LifecycleChaincodeEndorsementPolicy lifecycleChaincodeEndorsementPolicy) throws InvalidArgumentException {
          if (null == lifecycleChaincodeEndorsementPolicy) {
              throw new InvalidArgumentException("The parameter lifecycleChaincodeEndorsementPolicy may not be null.");
          }
          this.validationParameter = lifecycleChaincodeEndorsementPolicy.getByteString();
      }
docs: The chaincode endorsment policy for the approval being queried for. Only this or {link {@link #setValidationParameter(byte[])}}
  may be used in a request.
  
  @param lifecycleChaincodeEndorsementPolicy
  @throws InvalidArgumentException