public class S3Config extends Object
| Constructor and Description |
|---|
S3Config(String region,
String bucket,
String storageClass,
String accessKey,
String secretKey,
int expirationSeconds,
boolean disableSslVerify)
Constructor for S3Config.
|
S3Config(String hostname,
String region,
String bucket,
String storageClass,
String accessKey,
String secretKey,
int expirationSeconds,
boolean disableSslVerify)
Constructor for S3Config.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAccessKey()
Get the
accessKey. |
String |
getBucket()
Get the
bucket. |
int |
getExpirationSeconds()
Get the
expirationSeconds. |
String |
getHostname()
Get the
hostname. |
String |
getRegion()
Get the
region. |
String |
getSecretKey()
Get the
secretKey. |
String |
getStorageClass()
Get the
storageClass. |
public S3Config(String hostname, String region, String bucket, String storageClass, String accessKey, String secretKey, int expirationSeconds, boolean disableSslVerify)
Constructor for S3Config.
hostname - S3 API hostregion - 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 S3Config(String region, String bucket, String storageClass, String accessKey, 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 String getHostname()
hostname.public String getRegion()
region.public String getBucket()
bucket.public String getStorageClass()
storageClass.public String getAccessKey()
accessKey.public String getSecretKey()
secretKey.public int getExpirationSeconds()
expirationSeconds.Copyright © 2020 Eclipse JGit Project. All rights reserved.