Authkey authKey = new Authkey();
authKey.setKeyName("MyAuthkeyValue");
auth.getAuths().add(AuthType.AUTHKEY);
auth.setAuthKey(authKey);
HTTPSType httpsType = new HTTPSType();
httpsType.setEnabled(https);
httpsType.setTlsMode(TLSMode.ONE_WAY);
api.setHttps(httpsType);
TdrData tdrData = new TdrData();
TdrType tdrType = new TdrType();