Constructor and Description |
---|
S3Configuration() |
Modifier and Type | Method and Description |
---|---|
S3Configuration |
copy() |
String |
getAccessKey() |
com.amazonaws.services.s3.AmazonS3 |
getAmazonS3Client() |
String |
getAwsKMSKeyId() |
String |
getBucketName() |
com.amazonaws.services.s3.model.EncryptionMaterials |
getEncryptionMaterials() |
String |
getFileName() |
S3Operations |
getOperation() |
long |
getPartSize() |
String |
getPolicy() |
String |
getPrefix() |
String |
getProxyHost() |
Integer |
getProxyPort() |
String |
getRegion() |
String |
getSecretKey() |
String |
getServerSideEncryption() |
String |
getStorageClass() |
boolean |
hasProxyConfiguration() |
boolean |
isAccelerateModeEnabled() |
boolean |
isAutocloseBody() |
boolean |
isChunkedEncodingDisabled() |
boolean |
isDeleteAfterRead() |
boolean |
isDeleteAfterWrite() |
boolean |
isDualstackEnabled() |
boolean |
isForceGlobalBucketAccessEnabled() |
boolean |
isIncludeBody() |
boolean |
isMultiPartUpload() |
boolean |
isPathStyleAccess() |
boolean |
isPayloadSigningEnabled() |
boolean |
isUseAwsKMS() |
boolean |
isUseEncryption() |
Boolean |
isUseIAMCredentials() |
void |
setAccelerateModeEnabled(boolean accelerateModeEnabled)
Define if Accelerate Mode enabled is true or false
|
void |
setAccessKey(String accessKey)
Amazon AWS Access Key
|
void |
setAmazonS3Client(com.amazonaws.services.s3.AmazonS3 amazonS3Client)
Reference to a `com.amazonaws.services.sqs.AmazonS3` in the
link:registry.html[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 |
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 |
setChunkedEncodingDisabled(boolean chunkedEncodingDisabled)
Define if disabled Chunked Encoding is true or false
|
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 |
setDualstackEnabled(boolean dualstackEnabled)
Define if Dualstack enabled is true or false
|
void |
setEncryptionMaterials(com.amazonaws.services.s3.model.EncryptionMaterials encryptionMaterials)
The encryption materials to use in case of Symmetric/Asymmetric client
usage
|
void |
setFileName(String fileName)
To get the object from the bucket with the given file name
|
void |
setForceGlobalBucketAccessEnabled(boolean forceGlobalBucketAccessEnabled)
Define if Force Global Bucket Access enabled is true or false
|
void |
setIncludeBody(boolean includeBody)
If it is true, the exchange body will be set to a stream to the contents
of the file.
|
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(S3Operations operation)
The operation to do in case the user don't want to do only an upload
|
void |
setPartSize(long partSize)
Setup the partSize which is used in multi part upload,
the default size is 25M.
|
void |
setPathStyleAccess(boolean pathStyleAccess)
Whether or not the S3 client should use path style access
|
void |
setPayloadSigningEnabled(boolean payloadSigningEnabled)
Define if Payload Signing enabled is true or false
|
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 |
setRegion(String region)
The region in which S3 client needs to work
|
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 to set in the
`com.amazonaws.services.s3.model.PutObjectRequest` request.
|
void |
setUseAwsKMS(boolean useAwsKMS)
Define if KMS must be used or not
|
void |
setUseEncryption(boolean useEncryption)
Define if encryption 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 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 void setIncludeBody(boolean includeBody)
public boolean isIncludeBody()
public boolean isDeleteAfterRead()
public void setDeleteAfterRead(boolean deleteAfterRead)
S3Constants.BUCKET_NAME
and S3Constants.KEY
headers,
or only the S3Constants.KEY
header.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)
public void setPathStyleAccess(boolean pathStyleAccess)
public boolean isPathStyleAccess()
public S3Operations getOperation()
public void setOperation(S3Operations operation)
public boolean isAutocloseBody()
public void setAutocloseBody(boolean autocloseBody)
public com.amazonaws.services.s3.model.EncryptionMaterials getEncryptionMaterials()
public void setEncryptionMaterials(com.amazonaws.services.s3.model.EncryptionMaterials encryptionMaterials)
public boolean isUseEncryption()
public void setUseEncryption(boolean useEncryption)
public boolean isUseAwsKMS()
public void setUseAwsKMS(boolean useAwsKMS)
public String getAwsKMSKeyId()
public void setAwsKMSKeyId(String awsKMSKeyId)
public boolean isChunkedEncodingDisabled()
public void setChunkedEncodingDisabled(boolean chunkedEncodingDisabled)
public boolean isAccelerateModeEnabled()
public void setAccelerateModeEnabled(boolean accelerateModeEnabled)
public boolean isDualstackEnabled()
public void setDualstackEnabled(boolean dualstackEnabled)
public boolean isPayloadSigningEnabled()
public void setPayloadSigningEnabled(boolean payloadSigningEnabled)
public boolean isForceGlobalBucketAccessEnabled()
public void setForceGlobalBucketAccessEnabled(boolean forceGlobalBucketAccessEnabled)
public void setUseIAMCredentials(Boolean useIAMCredentials)
public Boolean isUseIAMCredentials()
public boolean hasProxyConfiguration()
public S3Configuration copy()
Apache Camel