This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push: new e9690503949 Regen for commit bfb2678c82ea44aa33c385cf8e2044840419c557 e9690503949 is described below commit e9690503949af96f95c51598ccd253b75d50114b Author: oscerd <osc...@users.noreply.github.com> AuthorDate: Thu Mar 16 13:46:21 2023 +0000 Regen for commit bfb2678c82ea44aa33c385cf8e2044840419c557 Signed-off-by: GitHub <nore...@github.com> --- .../dsl/Aws2S3ComponentBuilderFactory.java | 38 ++++- .../endpoint/dsl/AWS2S3EndpointBuilderFactory.java | 171 +++++++++++++++++++-- 2 files changed, 195 insertions(+), 14 deletions(-) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2S3ComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2S3ComponentBuilderFactory.java index d65e47bcef1..dfb68cccc51 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2S3ComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2S3ComponentBuilderFactory.java @@ -197,6 +197,22 @@ public interface Aws2S3ComponentBuilderFactory { doSetProperty("prefix", prefix); return this; } + /** + * If using a profile credentials provider this parameter will set the + * profile name. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: common + * + * @param profileCredentialsName the value to set + * @return the dsl builder + */ + default Aws2S3ComponentBuilder profileCredentialsName( + java.lang.String profileCredentialsName) { + doSetProperty("profileCredentialsName", profileCredentialsName); + return this; + } /** * To define a proxy host when instantiating the SQS client. * @@ -294,8 +310,7 @@ public interface Aws2S3ComponentBuilderFactory { } /** * 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 credentials provider. * * The option is a: <code>boolean</code> type. * @@ -310,6 +325,23 @@ public interface Aws2S3ComponentBuilderFactory { doSetProperty("useDefaultCredentialsProvider", useDefaultCredentialsProvider); return this; } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default Aws2S3ComponentBuilder useProfileCredentialsProvider( + boolean useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } /** * Define the customer algorithm to use in case CustomerKey is enabled. * @@ -928,6 +960,7 @@ public interface Aws2S3ComponentBuilderFactory { case "pojoRequest": getOrCreateConfiguration((AWS2S3Component) component).setPojoRequest((boolean) value); return true; case "policy": getOrCreateConfiguration((AWS2S3Component) component).setPolicy((java.lang.String) value); return true; case "prefix": getOrCreateConfiguration((AWS2S3Component) component).setPrefix((java.lang.String) value); return true; + case "profileCredentialsName": getOrCreateConfiguration((AWS2S3Component) component).setProfileCredentialsName((java.lang.String) value); return true; case "proxyHost": getOrCreateConfiguration((AWS2S3Component) component).setProxyHost((java.lang.String) value); return true; case "proxyPort": getOrCreateConfiguration((AWS2S3Component) component).setProxyPort((java.lang.Integer) value); return true; case "proxyProtocol": getOrCreateConfiguration((AWS2S3Component) component).setProxyProtocol((software.amazon.awssdk.core.Protocol) value); return true; @@ -935,6 +968,7 @@ public interface Aws2S3ComponentBuilderFactory { case "trustAllCertificates": getOrCreateConfiguration((AWS2S3Component) component).setTrustAllCertificates((boolean) value); return true; case "uriEndpointOverride": getOrCreateConfiguration((AWS2S3Component) component).setUriEndpointOverride((java.lang.String) value); return true; case "useDefaultCredentialsProvider": getOrCreateConfiguration((AWS2S3Component) component).setUseDefaultCredentialsProvider((boolean) value); return true; + case "useProfileCredentialsProvider": getOrCreateConfiguration((AWS2S3Component) component).setUseProfileCredentialsProvider((boolean) value); return true; case "customerAlgorithm": getOrCreateConfiguration((AWS2S3Component) component).setCustomerAlgorithm((java.lang.String) value); return true; case "customerKeyId": getOrCreateConfiguration((AWS2S3Component) component).setCustomerKeyId((java.lang.String) value); return true; case "customerKeyMD5": getOrCreateConfiguration((AWS2S3Component) component).setCustomerKeyMD5((java.lang.String) value); return true; diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2S3EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2S3EndpointBuilderFactory.java index def50be90ec..97d591a41e0 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2S3EndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2S3EndpointBuilderFactory.java @@ -263,6 +263,22 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("prefix", prefix); return this; } + /** + * If using a profile credentials provider this parameter will set the + * profile name. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: common + * + * @param profileCredentialsName the value to set + * @return the dsl builder + */ + default AWS2S3EndpointConsumerBuilder profileCredentialsName( + String profileCredentialsName) { + doSetProperty("profileCredentialsName", profileCredentialsName); + return this; + } /** * To define a proxy host when instantiating the SQS client. * @@ -409,8 +425,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option is a: <code>boolean</code> type. * @@ -427,8 +442,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option will be converted to a <code>boolean</code> * type. @@ -444,6 +458,41 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("useDefaultCredentialsProvider", useDefaultCredentialsProvider); return this; } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointConsumerBuilder useProfileCredentialsProvider( + boolean useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointConsumerBuilder useProfileCredentialsProvider( + String useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } /** * Delete objects from S3 after they have been retrieved. The delete is * only performed if the Exchange is committed. If a rollback occurs, @@ -1818,6 +1867,22 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("prefix", prefix); return this; } + /** + * If using a profile credentials provider this parameter will set the + * profile name. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: common + * + * @param profileCredentialsName the value to set + * @return the dsl builder + */ + default AWS2S3EndpointProducerBuilder profileCredentialsName( + String profileCredentialsName) { + doSetProperty("profileCredentialsName", profileCredentialsName); + return this; + } /** * To define a proxy host when instantiating the SQS client. * @@ -1964,8 +2029,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option is a: <code>boolean</code> type. * @@ -1982,8 +2046,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option will be converted to a <code>boolean</code> * type. @@ -1999,6 +2062,41 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("useDefaultCredentialsProvider", useDefaultCredentialsProvider); return this; } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointProducerBuilder useProfileCredentialsProvider( + boolean useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointProducerBuilder useProfileCredentialsProvider( + String useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } /** * The number of messages composing a batch in streaming upload mode. * @@ -2826,6 +2924,22 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("prefix", prefix); return this; } + /** + * If using a profile credentials provider this parameter will set the + * profile name. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: common + * + * @param profileCredentialsName the value to set + * @return the dsl builder + */ + default AWS2S3EndpointBuilder profileCredentialsName( + String profileCredentialsName) { + doSetProperty("profileCredentialsName", profileCredentialsName); + return this; + } /** * To define a proxy host when instantiating the SQS client. * @@ -2972,8 +3086,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option is a: <code>boolean</code> type. * @@ -2990,8 +3103,7 @@ public interface AWS2S3EndpointBuilderFactory { } /** * 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 credentials provider. * * The option will be converted to a <code>boolean</code> * type. @@ -3007,6 +3119,41 @@ public interface AWS2S3EndpointBuilderFactory { doSetProperty("useDefaultCredentialsProvider", useDefaultCredentialsProvider); return this; } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointBuilder useProfileCredentialsProvider( + boolean useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } + /** + * Set whether the S3 client should expect to load credentials through a + * profile credentials provider. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: common + * + * @param useProfileCredentialsProvider the value to set + * @return the dsl builder + */ + default AWS2S3EndpointBuilder useProfileCredentialsProvider( + String useProfileCredentialsProvider) { + doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); + return this; + } /** * Amazon AWS Access Key. *