public class PropertiesAWSCredentials extends BasicAWSCredentials implements org.springframework.beans.factory.InitializingBean
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_AWS_ACCESS_KEY_PROPERTY |
static java.lang.String |
DEFAULT_AWS_SECRET_KEY_PROPERTY |
| Constructor and Description |
|---|
PropertiesAWSCredentials(java.lang.String propertyFileName)
.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet()
.
|
java.lang.String |
getAccessKeyProperty()
.
|
java.lang.String |
getPropertyFileName()
.
|
java.lang.String |
getSecretKeyProperty()
.
|
void |
setAccessKeyProperty(java.lang.String accessKeyProperty)
.
|
void |
setPropertyFileName(java.lang.String propertyFileName)
.
|
void |
setSecretKeyProperty(java.lang.String secretKeyProperty)
.
|
getAccessKey, getSecretKey, setAccessKey, setSecretKeypublic static final java.lang.String DEFAULT_AWS_ACCESS_KEY_PROPERTY
public static final java.lang.String DEFAULT_AWS_SECRET_KEY_PROPERTY
public PropertiesAWSCredentials(java.lang.String propertyFileName)
propertyFileName - Must not be null or emptypublic java.lang.String getAccessKeyProperty()
public void setAccessKeyProperty(java.lang.String accessKeyProperty)
accessKeyProperty - public java.lang.String getSecretKeyProperty()
public void setSecretKeyProperty(java.lang.String secretKeyProperty)
public java.lang.String getPropertyFileName()
public void setPropertyFileName(java.lang.String propertyFileName)
propertyFileName - Must not be null or emptypublic void afterPropertiesSet()
throws java.lang.Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanjava.lang.Exception