public class S3Config
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
accessKey |
private java.lang.String |
bucket |
private boolean |
disableSslVerify |
private int |
expirationSeconds |
private java.lang.String |
region |
private java.lang.String |
secretKey |
private java.lang.String |
storageClass |
Constructor and Description |
---|
S3Config(java.lang.String region,
java.lang.String bucket,
java.lang.String storageClass,
java.lang.String accessKey,
java.lang.String secretKey,
int expirationSeconds,
boolean disableSslVerify)
Constructor for S3Config.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAccessKey()
Get the
accessKey . |
java.lang.String |
getBucket()
Get the
bucket . |
int |
getExpirationSeconds()
Get the
expirationSeconds . |
java.lang.String |
getRegion()
Get the
region . |
java.lang.String |
getSecretKey()
Get the
secretKey . |
java.lang.String |
getStorageClass()
Get the
storageClass . |
(package private) boolean |
isDisableSslVerify() |
private final java.lang.String region
private final java.lang.String bucket
private final java.lang.String storageClass
private final java.lang.String accessKey
private final java.lang.String secretKey
private final int expirationSeconds
private final boolean disableSslVerify
public S3Config(java.lang.String region, java.lang.String bucket, java.lang.String storageClass, java.lang.String accessKey, java.lang.String secretKey, int expirationSeconds, boolean disableSslVerify)
Constructor for S3Config.
region
- AWS regionbucket
- S3 storage bucketstorageClass
- S3 storage classaccessKey
- access key for authenticating to AWSsecretKey
- secret key for authenticating to AWSexpirationSeconds
- period in seconds after which requests signed for this bucket
will expiredisableSslVerify
- if true
disable Amazon server certificate and hostname
verificationpublic java.lang.String getRegion()
region
.public java.lang.String getBucket()
bucket
.public java.lang.String getStorageClass()
storageClass
.public java.lang.String getAccessKey()
accessKey
.public java.lang.String getSecretKey()
secretKey
.public int getExpirationSeconds()
expirationSeconds
.boolean isDisableSslVerify()
true
if Amazon server certificate and hostname
verification is disabled