Interface AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
AWS2S3EndpointBuilderFactory.AWS2S3EndpointBuilder
- Enclosing interface:
- AWS2S3EndpointBuilderFactory
public static interface AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder extends org.apache.camel.builder.EndpointProducerBuilderBuilder for endpoint producers for the AWS S3 Storage Service component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderaccessKey(String accessKey)Amazon AWS Access Key.default AWS2S3EndpointBuilderFactory.AdvancedAWS2S3EndpointProducerBuilderadvanced()default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderamazonS3Client(String amazonS3Client)Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderamazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)Reference to a com.amazonaws.services.s3.AmazonS3 in the registry.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderamazonS3Presigner(String amazonS3Presigner)An S3 Presigner for Request, used mainly in createDownloadLink operation.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderamazonS3Presigner(software.amazon.awssdk.services.s3.presigner.S3Presigner amazonS3Presigner)An S3 Presigner for Request, used mainly in createDownloadLink operation.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderautoCreateBucket(boolean autoCreateBucket)Setting the autocreation of the S3 bucket bucketName.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderautoCreateBucket(String autoCreateBucket)Setting the autocreation of the S3 bucket bucketName.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderbatchMessageNumber(int batchMessageNumber)The number of messages composing a batch in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderbatchMessageNumber(String batchMessageNumber)The number of messages composing a batch in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderbatchSize(int batchSize)The batch size (in bytes) in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderbatchSize(String batchSize)The batch size (in bytes) in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderdeleteAfterWrite(boolean deleteAfterWrite)Delete file object after the S3 file has been uploaded.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderdeleteAfterWrite(String deleteAfterWrite)Delete file object after the S3 file has been uploaded.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderdelimiter(String delimiter)The delimiter which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderforcePathStyle(boolean forcePathStyle)Set whether the S3 client should use path-style URL instead of virtual-hosted-style.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderforcePathStyle(String forcePathStyle)Set whether the S3 client should use path-style URL instead of virtual-hosted-style.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderkeyName(String keyName)Setting the key name for an element in the bucket through endpoint parameter.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildermultiPartUpload(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 AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildermultiPartUpload(String 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 AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildernamingStrategy(String namingStrategy)The naming strategy to use in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildernamingStrategy(org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum namingStrategy)The naming strategy to use in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderoperation(String operation)The operation to do in case the user don't want to do only an upload.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderoperation(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 AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderoverrideEndpoint(boolean overrideEndpoint)Set the need for overidding the endpoint.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderoverrideEndpoint(String overrideEndpoint)Set the need for overidding the endpoint.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderpartSize(long partSize)Setup the partSize which is used in multi part upload, the default size is 25M.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderpartSize(String partSize)Setup the partSize which is used in multi part upload, the default size is 25M.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderpojoRequest(boolean pojoRequest)If we want to use a POJO request as body or not.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderpojoRequest(String pojoRequest)If we want to use a POJO request as body or not.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderpolicy(String policy)The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderprefix(String prefix)The prefix which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderproxyHost(String proxyHost)To define a proxy host when instantiating the SQS client.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderproxyPort(Integer proxyPort)Specify a proxy port to be used inside the client definition.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderproxyPort(String proxyPort)Specify a proxy port to be used inside the client definition.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderproxyProtocol(String proxyProtocol)To define a proxy protocol when instantiating the S3 client.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderproxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)To define a proxy protocol when instantiating the S3 client.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderregion(String region)The region in which S3 client needs to work.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderrestartingPolicy(String restartingPolicy)The restarting policy to use in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderrestartingPolicy(org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum restartingPolicy)The restarting policy to use in streaming upload mode.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildersecretKey(String secretKey)Amazon AWS Secret Key.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderstorageClass(String storageClass)The storage class to set in the com.amazonaws.services.s3.model.PutObjectRequest request.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderstreamingUploadMode(boolean streamingUploadMode)When stream mode is true the upload to bucket will be done in streaming.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderstreamingUploadMode(String streamingUploadMode)When stream mode is true the upload to bucket will be done in streaming.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderstreamingUploadTimeout(long streamingUploadTimeout)While streaming upload mode is true, this option set the timeout to complete upload.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderstreamingUploadTimeout(String streamingUploadTimeout)While streaming upload mode is true, this option set the timeout to complete upload.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildertrustAllCertificates(boolean trustAllCertificates)If we want to trust all certificates in case of overriding the endpoint.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuildertrustAllCertificates(String trustAllCertificates)If we want to trust all certificates in case of overriding the endpoint.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderuriEndpointOverride(String uriEndpointOverride)Set the overriding uri endpoint.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderuseDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilderuseDefaultCredentialsProvider(String useDefaultCredentialsProvider)Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in.
-
-
-
Method Detail
-
advanced
default AWS2S3EndpointBuilderFactory.AdvancedAWS2S3EndpointProducerBuilder advanced()
-
amazonS3Client
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder amazonS3Client(software.amazon.awssdk.services.s3.S3Client amazonS3Client)
Reference to a com.amazonaws.services.s3.AmazonS3 in the registry. The option is a: <code>software.amazon.awssdk.services.s3.S3Client</code> type. Group: common- Parameters:
amazonS3Client- the value to set- Returns:
- the dsl builder
-
amazonS3Client
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder amazonS3Client(String amazonS3Client)
Reference to a com.amazonaws.services.s3.AmazonS3 in the registry. The option will be converted to a <code>software.amazon.awssdk.services.s3.S3Client</code> type. Group: common- Parameters:
amazonS3Client- the value to set- Returns:
- the dsl builder
-
amazonS3Presigner
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder amazonS3Presigner(software.amazon.awssdk.services.s3.presigner.S3Presigner amazonS3Presigner)
An S3 Presigner for Request, used mainly in createDownloadLink operation. The option is a: <code>software.amazon.awssdk.services.s3.presigner.S3Presigner</code> type. Group: common- Parameters:
amazonS3Presigner- the value to set- Returns:
- the dsl builder
-
amazonS3Presigner
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder amazonS3Presigner(String amazonS3Presigner)
An S3 Presigner for Request, used mainly in createDownloadLink operation. The option will be converted to a <code>software.amazon.awssdk.services.s3.presigner.S3Presigner</code> type. Group: common- Parameters:
amazonS3Presigner- the value to set- Returns:
- the dsl builder
-
autoCreateBucket
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder autoCreateBucket(boolean autoCreateBucket)
Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
autoCreateBucket- the value to set- Returns:
- the dsl builder
-
autoCreateBucket
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder autoCreateBucket(String autoCreateBucket)
Setting the autocreation of the S3 bucket bucketName. This will apply also in case of moveAfterRead option enabled and it will create the destinationBucket if it doesn't exist already. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
autoCreateBucket- the value to set- Returns:
- the dsl builder
-
delimiter
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder delimiter(String delimiter)
The delimiter which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
delimiter- the value to set- Returns:
- the dsl builder
-
forcePathStyle
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder forcePathStyle(boolean forcePathStyle)
Set whether the S3 client should use path-style URL instead of virtual-hosted-style. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
forcePathStyle- the value to set- Returns:
- the dsl builder
-
forcePathStyle
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder forcePathStyle(String forcePathStyle)
Set whether the S3 client should use path-style URL instead of virtual-hosted-style. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
forcePathStyle- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder overrideEndpoint(boolean overrideEndpoint)
Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
overrideEndpoint
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder overrideEndpoint(String overrideEndpoint)
Set the need for overidding the endpoint. This option needs to be used in combination with uriEndpointOverride option. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
overrideEndpoint- the value to set- Returns:
- the dsl builder
-
pojoRequest
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder pojoRequest(boolean pojoRequest)
If we want to use a POJO request as body or not. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
pojoRequest- the value to set- Returns:
- the dsl builder
-
pojoRequest
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder pojoRequest(String pojoRequest)
If we want to use a POJO request as body or not. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
pojoRequest- the value to set- Returns:
- the dsl builder
-
policy
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder policy(String policy)
The policy for this queue to set in the com.amazonaws.services.s3.AmazonS3#setBucketPolicy() method. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
policy- the value to set- Returns:
- the dsl builder
-
prefix
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder prefix(String prefix)
The prefix which is used in the com.amazonaws.services.s3.model.ListObjectsRequest to only consume objects we are interested in. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
prefix- the value to set- Returns:
- the dsl builder
-
proxyHost
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder proxyHost(String proxyHost)
To define a proxy host when instantiating the SQS client. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
proxyHost- the value to set- Returns:
- the dsl builder
-
proxyPort
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder proxyPort(Integer proxyPort)
Specify a proxy port to be used inside the client definition. The option is a: <code>java.lang.Integer</code> type. Group: common- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyPort
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder proxyPort(String proxyPort)
Specify a proxy port to be used inside the client definition. The option will be converted to a <code>java.lang.Integer</code> type. Group: common- Parameters:
proxyPort- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder proxyProtocol(software.amazon.awssdk.core.Protocol proxyProtocol)
To define a proxy protocol when instantiating the S3 client. The option is a: <code>software.amazon.awssdk.core.Protocol</code> type. Default: HTTPS Group: common- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
proxyProtocol
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder proxyProtocol(String proxyProtocol)
To define a proxy protocol when instantiating the S3 client. The option will be converted to a <code>software.amazon.awssdk.core.Protocol</code> type. Default: HTTPS Group: common- Parameters:
proxyProtocol- the value to set- Returns:
- the dsl builder
-
region
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder region(String region)
The region in which S3 client needs to work. When using this parameter, the configuration will expect the lowercase name of the region (for example ap-east-1) You'll need to use the name Region.EU_WEST_1.id(). The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
region- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder trustAllCertificates(boolean trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
trustAllCertificates
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder trustAllCertificates(String trustAllCertificates)
If we want to trust all certificates in case of overriding the endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
trustAllCertificates- the value to set- Returns:
- the dsl builder
-
uriEndpointOverride
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder uriEndpointOverride(String uriEndpointOverride)
Set the overriding uri endpoint. This option needs to be used in combination with overrideEndpoint option. The option is a: <code>java.lang.String</code> type. Group: common- Parameters:
uriEndpointOverride- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder useDefaultCredentialsProvider(boolean useDefaultCredentialsProvider)
Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. The option is a: <code>boolean</code> type. Default: false Group: common- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
useDefaultCredentialsProvider
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder useDefaultCredentialsProvider(String useDefaultCredentialsProvider)
Set whether the S3 client should expect to load credentials through a default credentials provider or to expect static credentials to be passed in. The option will be converted to a <code>boolean</code> type. Default: false Group: common- Parameters:
useDefaultCredentialsProvider- the value to set- Returns:
- the dsl builder
-
batchMessageNumber
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder batchMessageNumber(int batchMessageNumber)
The number of messages composing a batch in streaming upload mode. The option is a: <code>int</code> type. Default: 10 Group: producer- Parameters:
batchMessageNumber- the value to set- Returns:
- the dsl builder
-
batchMessageNumber
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder batchMessageNumber(String batchMessageNumber)
The number of messages composing a batch in streaming upload mode. The option will be converted to a <code>int</code> type. Default: 10 Group: producer- Parameters:
batchMessageNumber- the value to set- Returns:
- the dsl builder
-
batchSize
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder batchSize(int batchSize)
The batch size (in bytes) in streaming upload mode. The option is a: <code>int</code> type. Default: 1000000 Group: producer- Parameters:
batchSize- the value to set- Returns:
- the dsl builder
-
batchSize
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder batchSize(String batchSize)
The batch size (in bytes) in streaming upload mode. The option will be converted to a <code>int</code> type. Default: 1000000 Group: producer- Parameters:
batchSize- the value to set- Returns:
- the dsl builder
-
deleteAfterWrite
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder deleteAfterWrite(boolean deleteAfterWrite)
Delete file object after the S3 file has been uploaded. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteAfterWrite- the value to set- Returns:
- the dsl builder
-
deleteAfterWrite
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder deleteAfterWrite(String deleteAfterWrite)
Delete file object after the S3 file has been uploaded. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
deleteAfterWrite- the value to set- Returns:
- the dsl builder
-
keyName
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder keyName(String keyName)
Setting the key name for an element in the bucket through endpoint parameter. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
keyName- the value to set- Returns:
- the dsl builder
-
multiPartUpload
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder 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. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
multiPartUpload- the value to set- Returns:
- the dsl builder
-
multiPartUpload
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder multiPartUpload(String multiPartUpload)
If it is true, camel will upload the file with multi part format, the part size is decided by the option of partSize. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
multiPartUpload- the value to set- Returns:
- the dsl builder
-
namingStrategy
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder namingStrategy(org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum namingStrategy)
The naming strategy to use in streaming upload mode. The option is a: <code>org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum</code> type. Default: progressive Group: producer- Parameters:
namingStrategy- the value to set- Returns:
- the dsl builder
-
namingStrategy
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder namingStrategy(String namingStrategy)
The naming strategy to use in streaming upload mode. The option will be converted to a <code>org.apache.camel.component.aws2.s3.stream.AWSS3NamingStrategyEnum</code> type. Default: progressive Group: producer- Parameters:
namingStrategy- the value to set- Returns:
- the dsl builder
-
operation
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder 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. The option is a: <code>org.apache.camel.component.aws2.s3.AWS2S3Operations</code> type. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
operation
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder operation(String operation)
The operation to do in case the user don't want to do only an upload. The option will be converted to a <code>org.apache.camel.component.aws2.s3.AWS2S3Operations</code> type. Group: producer- Parameters:
operation- the value to set- Returns:
- the dsl builder
-
partSize
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder partSize(long partSize)
Setup the partSize which is used in multi part upload, the default size is 25M. The option is a: <code>long</code> type. Default: 26214400 Group: producer- Parameters:
partSize- the value to set- Returns:
- the dsl builder
-
partSize
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder partSize(String partSize)
Setup the partSize which is used in multi part upload, the default size is 25M. The option will be converted to a <code>long</code> type. Default: 26214400 Group: producer- Parameters:
partSize- the value to set- Returns:
- the dsl builder
-
restartingPolicy
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder restartingPolicy(org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum restartingPolicy)
The restarting policy to use in streaming upload mode. The option is a: <code>org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum</code> type. Default: override Group: producer- Parameters:
restartingPolicy- the value to set- Returns:
- the dsl builder
-
restartingPolicy
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder restartingPolicy(String restartingPolicy)
The restarting policy to use in streaming upload mode. The option will be converted to a <code>org.apache.camel.component.aws2.s3.stream.AWSS3RestartingPolicyEnum</code> type. Default: override Group: producer- Parameters:
restartingPolicy- the value to set- Returns:
- the dsl builder
-
storageClass
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder storageClass(String storageClass)
The storage class to set in the com.amazonaws.services.s3.model.PutObjectRequest request. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
storageClass- the value to set- Returns:
- the dsl builder
-
streamingUploadMode
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder streamingUploadMode(boolean streamingUploadMode)
When stream mode is true the upload to bucket will be done in streaming. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
streamingUploadMode- the value to set- Returns:
- the dsl builder
-
streamingUploadMode
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder streamingUploadMode(String streamingUploadMode)
When stream mode is true the upload to bucket will be done in streaming. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
streamingUploadMode- the value to set- Returns:
- the dsl builder
-
streamingUploadTimeout
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder streamingUploadTimeout(long streamingUploadTimeout)
While streaming upload mode is true, this option set the timeout to complete upload. The option is a: <code>long</code> type. Group: producer- Parameters:
streamingUploadTimeout- the value to set- Returns:
- the dsl builder
-
streamingUploadTimeout
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder streamingUploadTimeout(String streamingUploadTimeout)
While streaming upload mode is true, this option set the timeout to complete upload. The option will be converted to a <code>long</code> type. Group: producer- Parameters:
streamingUploadTimeout- the value to set- Returns:
- the dsl builder
-
accessKey
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder accessKey(String accessKey)
Amazon AWS Access Key. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
accessKey- the value to set- Returns:
- the dsl builder
-
secretKey
default AWS2S3EndpointBuilderFactory.AWS2S3EndpointProducerBuilder secretKey(String secretKey)
Amazon AWS Secret Key. The option is a: <code>java.lang.String</code> type. Group: security- Parameters:
secretKey- the value to set- Returns:
- the dsl builder
-
-