| Constructor and Description |
|---|
AWS2S3Configuration() |
| Modifier and Type | Method and Description |
|---|---|
AWS2S3Configuration |
copy() |
String |
getAccessKey() |
software.amazon.awssdk.services.s3.S3Client |
getAmazonS3Client() |
String |
getAwsKMSKeyId() |
String |
getBucketName() |
String |
getCustomerAlgorithm() |
String |
getCustomerKeyId() |
String |
getCustomerKeyMD5() |
String |
getDelimiter() |
String |
getDestinationBucket() |
String |
getFileName() |
String |
getKeyName() |
AWS2S3Operations |
getOperation() |
long |
getPartSize() |
String |
getPolicy() |
String |
getPrefix() |
String |
getProxyHost() |
Integer |
getProxyPort() |
software.amazon.awssdk.core.Protocol |
getProxyProtocol() |
String |
getRegion() |
String |
getSecretKey() |
String |
getStorageClass() |
String |
getUriEndpointOverride() |
boolean |
isAutocloseBody() |
boolean |
isAutoCreateBucket() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteAfterWrite() |
boolean |
isIncludeBody() |
boolean |
isIncludeFolders() |
boolean |
isMoveAfterRead() |
boolean |
isMultiPartUpload() |
boolean |
isOverrideEndpoint() |
boolean |
isPojoRequest() |
boolean |
isUseAwsKMS() |
boolean |
isUseCustomerKey() |
Boolean |
isUseIAMCredentials() |
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)
Reference to a `com.amazonaws.services.s3.AmazonS3` in the registry.
|
void |
setAutocloseBody(boolean autocloseBody)
If this option is true and includeBody is true, then the S3Object.close()
method will be called on exchange completion.
|
void |
setAutoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket
|
void |
setAwsKMSKeyId(String awsKMSKeyId)
Define the id of KMS key to use in case KMS is enabled
|
void |
setBucketName(String bucketName)
Name of the bucket.
|
void |
setCustomerAlgorithm(String customerAlgorithm)
Define the customer algorithm to use in case CustomerKey is enabled
|
void |
setCustomerKeyId(String customerKeyId)
Define the id of Customer key to use in case CustomerKey is enabled
|
void |
setCustomerKeyMD5(String customerKeyMD5)
Define the MD5 of Customer key to use in case CustomerKey is enabled
|
void |
setDeleteAfterRead(boolean deleteAfterRead)
Delete objects from S3 after they have been retrieved.
|
void |
setDeleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the S3 file has been uploaded
|
void |
setDelimiter(String delimiter)
The delimiter which is used in the
com.amazonaws.services.s3.model.ListObjectsRequest to only consume
objects we are interested in.
|
void |
setDestinationBucket(String destinationBucket)
Define the destination bucket where an object must be moved when moveAfterRead is set to true.
|
void |
setFileName(String fileName)
To get the object from the bucket with the given file name
|
void |
setIncludeBody(boolean includeBody)
If it is true, the exchange body will be set to a stream to the contents
of the file.
|
void |
setIncludeFolders(boolean includeFolders)
If it is true, the folders/directories will be consumed.
|
void |
setKeyName(String keyName)
Setting the key name for an element in the bucket through endpoint
parameter
|
void |
setMoveAfterRead(boolean moveAfterRead)
Move objects from S3 bucket to a different bucket after they have been retrieved.
|
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 |
setOperation(AWS2S3Operations operation)
The operation to do in case the user don't want to do only an upload
|
void |
setOverrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint.
|
void |
setPartSize(long partSize)
Setup the partSize which is used in multi part upload, the default size
is 25M.
|
void |
setPojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not
|
void |
setPolicy(String policy)
The policy for this queue to set in the
`com.amazonaws.services.s3.AmazonS3#setBucketPolicy()` method.
|
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)
To define a proxy host when instantiating the SQS client
|
void |
setProxyPort(Integer proxyPort)
Specify a proxy port to be used inside the client definition.
|
void |
setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the S3 client
|
void |
setRegion(String region)
The region in which S3 client needs to work.
|
void |
setSecretKey(String secretKey)
Amazon AWS Secret Key
|
void |
setStorageClass(String storageClass)
The storage class to set in the
`com.amazonaws.services.s3.model.PutObjectRequest` request.
|
void |
setUriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint.
|
void |
setUseAwsKMS(boolean useAwsKMS)
Define if KMS must be used or not
|
void |
setUseCustomerKey(boolean useCustomerKey)
Define if Customer Key must be used or not
|
void |
setUseIAMCredentials(Boolean useIAMCredentials)
Set whether the S3 client should expect to load credentials on an EC2
instance or to expect static credentials to be passed in.
|
public long getPartSize()
public void setPartSize(long partSize)
public boolean isMultiPartUpload()
public void setMultiPartUpload(boolean multiPartUpload)
public String getAccessKey()
public void setAccessKey(String accessKey)
public String getSecretKey()
public void setSecretKey(String secretKey)
public software.amazon.awssdk.services.s3.S3Client getAmazonS3Client()
public void setAmazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)
public String getPrefix()
public void setPrefix(String prefix)
public String getDelimiter()
public void setDelimiter(String delimiter)
public void setIncludeFolders(boolean includeFolders)
public boolean isIncludeFolders()
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 void setIncludeBody(boolean includeBody)
public boolean isIncludeBody()
public boolean isDeleteAfterRead()
public void setDeleteAfterRead(boolean deleteAfterRead)
AWS2S3Constants.BUCKET_NAME and AWS2S3Constants.KEY
headers, or only the AWS2S3Constants.KEY header.public boolean isMoveAfterRead()
public void setMoveAfterRead(boolean moveAfterRead)
public String getDestinationBucket()
public void setDestinationBucket(String destinationBucket)
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 software.amazon.awssdk.core.Protocol getProxyProtocol()
public void setProxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
public String getProxyHost()
public void setProxyHost(String proxyHost)
public Integer getProxyPort()
public void setProxyPort(Integer proxyPort)
public AWS2S3Operations getOperation()
public void setOperation(AWS2S3Operations operation)
public boolean isAutocloseBody()
public void setAutocloseBody(boolean autocloseBody)
public boolean isUseAwsKMS()
public void setUseAwsKMS(boolean useAwsKMS)
public String getAwsKMSKeyId()
public void setAwsKMSKeyId(String awsKMSKeyId)
public boolean isUseCustomerKey()
public void setUseCustomerKey(boolean useCustomerKey)
public String getCustomerKeyId()
public void setCustomerKeyId(String customerKeyId)
public String getCustomerKeyMD5()
public void setCustomerKeyMD5(String customerKeyMD5)
public String getCustomerAlgorithm()
public void setCustomerAlgorithm(String customerAlgorithm)
public void setUseIAMCredentials(Boolean useIAMCredentials)
public Boolean isUseIAMCredentials()
public boolean isAutoCreateBucket()
public void setAutoCreateBucket(boolean autoCreateBucket)
public String getKeyName()
public void setKeyName(String keyName)
public boolean isOverrideEndpoint()
public void setOverrideEndpoint(boolean overrideEndpoint)
public String getUriEndpointOverride()
public void setUriEndpointOverride(String uriEndpointOverride)
public boolean isPojoRequest()
public void setPojoRequest(boolean pojoRequest)
public AWS2S3Configuration copy()
Apache Camel