public static interface Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder extends ComponentBuilder<org.apache.camel.component.aws2.s3.AWS2S3Component>
| Modifier and Type | Method and Description |
|---|---|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
accessKey(String accessKey)
Amazon AWS Access Key.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
amazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)
Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
autocloseBody(boolean autocloseBody)
If this option is true and includeBody is true, then the
S3Object.close() method will be called on exchange completion.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
autoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the bucket.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
awsKMSKeyId(String awsKMSKeyId)
Define the id of KMS key to use in case KMS is enabled.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
basicPropertyBinding(boolean basicPropertyBinding)
Whether the component should use basic property binding (Camel 2.x)
or the newer property binding with additional capabilities.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
bridgeErrorHandler(boolean bridgeErrorHandler)
Allows for bridging the consumer to the Camel routing Error Handler,
which mean any exceptions occurred while the consumer is trying to
pickup incoming messages, or the likes, will now be processed as a
message and handled by the routing Error Handler.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
configuration(org.apache.camel.component.aws2.s3.AWS2S3Configuration configuration)
The component configuration.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
customerAlgorithm(String customerAlgorithm)
Define the customer algorithm to use in case CustomerKey is enabled.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
customerKeyId(String customerKeyId)
Define the id of Customer key to use in case CustomerKey is enabled.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
customerKeyMD5(String customerKeyMD5)
Define the MD5 of Customer key to use in case CustomerKey is enabled.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
deleteAfterRead(boolean deleteAfterRead)
Delete objects from S3 after they have been retrieved.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
deleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the S3 file has been uploaded.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
delimiter(String delimiter)
The delimiter which is used in the
com.amazonaws.services.s3.model.ListObjectsRequest to only consume
objects we are interested in.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
destinationBucket(String destinationBucket)
Define the destination bucket where an object must be moved when
moveAfterRead is set to true.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
fileName(String fileName)
To get the object from the bucket with the given file name.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
includeBody(boolean includeBody)
If it is true, the exchange body will be set to a stream to the
contents of the file.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
includeFolders(boolean includeFolders)
If it is true, the folders/directories will be consumed.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
keyName(String keyName)
Setting the key name for an element in the bucket through endpoint
parameter.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
moveAfterRead(boolean moveAfterRead)
Move objects from S3 bucket to a different bucket after they have
been retrieved.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
multiPartUpload(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.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
operation(org.apache.camel.component.aws2.s3.AWS2S3Operations operation)
The operation to do in case the user don't want to do only an upload.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
overrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
partSize(long partSize)
Setup the partSize which is used in multi part upload, the default
size is 25M.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
policy(String policy)
The policy for this queue to set in the
com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
prefix(String prefix)
The prefix which is used in the
com.amazonaws.services.s3.model.ListObjectsRequest to only consume
objects we are interested in.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
proxyHost(String proxyHost)
To define a proxy host when instantiating the SQS client.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
proxyPort(Integer proxyPort)
Specify a proxy port to be used inside the client definition.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the S3 client.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
region(String region)
The region in which S3 client needs to work.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
secretKey(String secretKey)
Amazon AWS Secret Key.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
storageClass(String storageClass)
The storage class to set in the
com.amazonaws.services.s3.model.PutObjectRequest request.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
uriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
useAwsKMS(boolean useAwsKMS)
Define if KMS must be used or not.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
useCustomerKey(boolean useCustomerKey)
Define if Customer Key must be used or not.
|
default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder |
useIAMCredentials(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.
|
build, build, doSetProperty, registerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder amazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)
software.amazon.awssdk.services.s3.S3Client type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder autoCreateBucket(boolean autoCreateBucket)
boolean type.
Default: true
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder configuration(org.apache.camel.component.aws2.s3.AWS2S3Configuration configuration)
org.apache.camel.component.aws2.s3.AWS2S3Configuration
type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder overrideEndpoint(boolean overrideEndpoint)
boolean type.
Default: false
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder pojoRequest(boolean pojoRequest)
boolean type.
Default: false
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder policy(String policy)
java.lang.String type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder proxyHost(String proxyHost)
java.lang.String type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder proxyPort(Integer proxyPort)
java.lang.Integer type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
software.amazon.awssdk.core.Protocol
type.
Default: HTTPS
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder region(String region)
java.lang.String type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder uriEndpointOverride(String uriEndpointOverride)
java.lang.String type.
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder useIAMCredentials(boolean useIAMCredentials)
boolean type.
Default: false
Group: commondefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder bridgeErrorHandler(boolean bridgeErrorHandler)
boolean type.
Default: false
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder deleteAfterRead(boolean deleteAfterRead)
boolean type.
Default: true
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder delimiter(String delimiter)
java.lang.String type.
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder destinationBucket(String destinationBucket)
java.lang.String type.
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder fileName(String fileName)
java.lang.String type.
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder includeBody(boolean includeBody)
boolean type.
Default: true
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder includeFolders(boolean includeFolders)
boolean type.
Default: true
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder moveAfterRead(boolean moveAfterRead)
boolean type.
Default: false
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder prefix(String prefix)
java.lang.String type.
Group: consumerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder autocloseBody(boolean autocloseBody)
boolean type.
Default: true
Group: consumer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder deleteAfterWrite(boolean deleteAfterWrite)
boolean type.
Default: false
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder keyName(String keyName)
java.lang.String type.
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder multiPartUpload(boolean multiPartUpload)
boolean type.
Default: false
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder operation(org.apache.camel.component.aws2.s3.AWS2S3Operations operation)
org.apache.camel.component.aws2.s3.AWS2S3Operations
type.
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder partSize(long partSize)
long type.
Default: 26214400
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder storageClass(String storageClass)
java.lang.String type.
Group: producerdefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder awsKMSKeyId(String awsKMSKeyId)
java.lang.String type.
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder customerAlgorithm(String customerAlgorithm)
java.lang.String type.
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder customerKeyId(String customerKeyId)
java.lang.String type.
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder customerKeyMD5(String customerKeyMD5)
java.lang.String type.
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder useAwsKMS(boolean useAwsKMS)
boolean type.
Default: false
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder useCustomerKey(boolean useCustomerKey)
boolean type.
Default: false
Group: producer (advanced)default Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder basicPropertyBinding(boolean basicPropertyBinding)
boolean type.
Default: false
Group: advanceddefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder accessKey(String accessKey)
java.lang.String type.
Group: securitydefault Aws2S3ComponentBuilderFactory.Aws2S3ComponentBuilder secretKey(String secretKey)
java.lang.String type.
Group: securityApache Camel