Here is an example - https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/HttpProxyExample.java
I think you can just add below to get the default null proxy.
final ProxyConfiguration proxyConfig =
ProxyConfiguration.builder().build();