Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
String |
getAccessKey() |
com.amazonaws.services.s3.AmazonS3 |
getAmazonS3Client() |
String |
getAmazonS3Endpoint() |
String |
getBucketName() |
String |
getFileName() |
long |
getPartSize() |
String |
getPolicy() |
String |
getPrefix() |
String |
getProxyHost()
To define a proxy host when instantiating the SQS client
|
Integer |
getProxyPort()
To define a proxy port when instantiating the SQS client
|
String |
getRegion() |
String |
getSecretKey() |
String |
getServerSideEncryption() |
String |
getStorageClass() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteAfterWrite() |
boolean |
isMultiPartUpload() |
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonS3Client(com.amazonaws.services.s3.AmazonS3 amazonS3Client)
To use the AmazonS3 as the client
|
void |
setAmazonS3Endpoint(String amazonS3Endpoint)
The region with which the AWS-S3 client wants to work with.
|
void |
setBucketName(String bucketName)
Name of the bucket.
|
void |
setDeleteAfterRead(boolean deleteAfterRead)
Delete objects from S3 after it has been retrieved.
|
void |
setDeleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the S3 file has been uploaded
|
void |
setFileName(String fileName)
To get the object from the bucket with the given file name
|
void |
setMultiPartUpload(boolean multiPartUpload)
If it is true, Camel will upload the file with multi part format, the part size is decided by the option of partSize
|
void |
setPartSize(long partSize)
Setup the partSize which is used in multi part upload, the default size is 25M.
|
void |
setPolicy(String policy)
The policy for this bucket
|
void |
setPrefix(String prefix)
The prefix which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.
|
void |
setProxyHost(String proxyHost) |
void |
setProxyPort(Integer proxyPort) |
void |
setRegion(String region)
The region where the bucket is located.
|
void |
setSecretKey(String secretKey)
Amazon AWS Secret Key
|
void |
setServerSideEncryption(String serverSideEncryption)
Sets the server-side encryption algorithm when encrypting the object using AWS-managed keys.
|
void |
setStorageClass(String storageClass)
The storage class
|
public long getPartSize()
public void setPartSize(long partSize)
public boolean isMultiPartUpload()
public void setMultiPartUpload(boolean multiPartUpload)
public void setAmazonS3Endpoint(String amazonS3Endpoint)
public String getAmazonS3Endpoint()
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public com.amazonaws.services.s3.AmazonS3 getAmazonS3Client()
public void setAmazonS3Client(com.amazonaws.services.s3.AmazonS3 amazonS3Client)
public String getPrefix()
public void setPrefix(String prefix)
public String getBucketName()
public void setBucketName(String bucketName)
public String getFileName()
public void setFileName(String fileName)
public String getRegion()
public void setRegion(String region)
public boolean isDeleteAfterRead()
public void setDeleteAfterRead(boolean deleteAfterRead)
public boolean isDeleteAfterWrite()
public void setDeleteAfterWrite(boolean deleteAfterWrite)
public String getPolicy()
public void setPolicy(String policy)
public String getStorageClass()
public void setStorageClass(String storageClass)
public String getServerSideEncryption()
public void setServerSideEncryption(String serverSideEncryption)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
Apache Camel