use of com.netflix.spinnaker.halyard.config.model.v1.providers.oraclebmcs.OracleBMCSAccount in project halyard by spinnaker.
the class OracleBMCSAddAccountCommand method buildAccount.
@Override
protected Account buildAccount(String accountName) {
OracleBMCSAccount account = (OracleBMCSAccount) new OracleBMCSAccount().setName(accountName);
account.setCompartmentId(compartmentId);
account.setUserId(userId);
account.setFingerprint(fingerprint);
account.setSshPrivateKeyFilePath(sshPrivateKeyFilePath);
account.setTenancyId(tenancyId);
account.setRegion(region);
return account;
}
Aggregations