List of usage examples for com.amazonaws ClientConfigurationFactory getConfig
public final ClientConfiguration getConfig()
From source file:org.apache.zeppelin.notebook.repo.OldS3NotebookRepo.java
License:Apache License
/** * Create AWS client configuration and return it. * @return AWS client configuration/* ww w .ja v a 2 s .c o m*/ */ private ClientConfiguration createClientConfiguration() { ClientConfigurationFactory configFactory = new ClientConfigurationFactory(); ClientConfiguration config = configFactory.getConfig(); String s3SignerOverride = conf.getS3SignerOverride(); if (StringUtils.isNotBlank(s3SignerOverride)) { config.setSignerOverride(s3SignerOverride); } return config; }