public <T extends BaseCouchbaseTableFunction<V>> T withSslEnabledAndCertAuthEnabled(boolean certAuthEnabled) {
    if (environmentConfigs.username != null) {
      throw new IllegalArgumentException(
          "Role-Based Access Control and Certificate-Based Authentication cannot be used together.");
    }
    environmentConfigs.sslEnabled = true;
    environmentConfigs.certAuthEnabled = certAuthEnabled;
    return (T) this;
  }
Enable certificate-based authentication and set sslEnabled to be true. If certAuthEnabled is false, only server
side certificate checking is enabled. If certAuthEnabled is true, both client and server certificate checking are
enabled.
SslKeystore or sslTrustStore should also be provided accordingly.
@param certAuthEnabled allows to enable X.509 client certificate authentication
@param <T> type of this instance
@return Self
samza-kv-couchbase/src/main/java/org/apache/samza/table/remote/couchbase/BaseCouchbaseTableFunction.java