public abstract class CommonConfig<T extends com.amazonaws.AmazonWebServiceClient> extends Object
Modifier and Type | Field and Description |
---|---|
protected ClientBuilder |
clientBuilder |
Constructor and Description |
---|
CommonConfig() |
Modifier and Type | Method and Description |
---|---|
T |
getAsyncClient() |
ClientBuilder |
getClientBuilder() |
protected CommonRegion |
getConfigRegion() |
Integer |
getConnectionTimeout() |
protected abstract CommonRegion |
getDefaultRegion() |
com.amazonaws.Protocol |
getProtocol() |
String |
getProxyDomain() |
String |
getProxyHost() |
String |
getProxyPassword() |
Integer |
getProxyPort() |
String |
getProxyUsername() |
String |
getProxyWorkstation() |
Integer |
getSocketTimeout() |
T |
getSyncClient() |
protected abstract void |
setClientBuilder() |
void |
setConnectionTimeout(Integer connectionTimeout) |
void |
setProtocol(com.amazonaws.Protocol protocol) |
void |
setProxyDomain(String proxyDomain) |
void |
setProxyHost(String proxyHost) |
void |
setProxyPassword(String proxyPassword) |
void |
setProxyPort(Integer proxyPort) |
void |
setProxyUsername(String proxyUsername) |
void |
setProxyWorkstation(String proxyWorkstation) |
void |
setSocketTimeout(Integer socketTimeout) |
protected ClientBuilder clientBuilder
public String getProxyUsername()
public void setProxyUsername(String proxyUsername)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public String getProxyPassword()
public void setProxyPassword(String proxyPassword)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getSocketTimeout()
public void setSocketTimeout(Integer socketTimeout)
public Integer getConnectionTimeout()
public void setConnectionTimeout(Integer connectionTimeout)
public com.amazonaws.Protocol getProtocol()
public void setProtocol(com.amazonaws.Protocol protocol)
public String getProxyDomain()
public void setProxyDomain(String proxyDomain)
public String getProxyWorkstation()
public void setProxyWorkstation(String proxyWorkstation)
protected CommonRegion getConfigRegion()
protected abstract CommonRegion getDefaultRegion()
public T getSyncClient()
public T getAsyncClient()
protected abstract void setClientBuilder()
public ClientBuilder getClientBuilder()
Copyright © 2010–2020. All rights reserved.