public void setNamespace(Id.Namespace namespace) { ConnectionConfig connectionConfig = ConnectionConfig.builder(clientConfig.getConnectionConfig()) .setNamespace(namespace) .build(); this.setConnectionConfig(connectionConfig); }
public void updateAccessToken(PrintStream output) throws IOException { AccessToken newAccessToken = getNewAccessToken(clientConfig.getConnectionConfig(), output, false); clientConfig.setAccessToken(newAccessToken); }