public void setChaincodeVersion(String chaincodeVersion) throws InvalidArgumentException {
        if (Utils.isNullOrEmpty(chaincodeVersion)) {
            throw new InvalidArgumentException("The chaincodeVersion parameter can not be null or empty.");
        }
        this.chaincodeVersion = chaincodeVersion;

    }
public void setChaincodeVersion ( String chaincodeVersion ) throws InvalidArgumentException { if ( Utils . isNullOrEmpty ( chaincodeVersion ) ) { throw new InvalidArgumentException ( "The chaincodeVersion parameter can not be null or empty." ) ; } this . chaincodeVersion = chaincodeVersion ; }
The version of the chaincode to approve.

@param chaincodeVersion the version.