This is an automated email from the ASF dual-hosted git repository. davsclaus 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 76dd06bf660 Regen 76dd06bf660 is described below commit 76dd06bf660c03f1e39149dfa10a1f3f45499347 Author: Claus Ibsen <claus.ib...@gmail.com> AuthorDate: Wed Feb 7 13:49:09 2024 +0100 Regen --- .../Aws2EventbridgeComponentBuilderFactory.java | 36 +++++++++++++++ .../dsl/Aws2IamComponentBuilderFactory.java | 36 +++++++++++++++ .../dsl/EventbridgeEndpointBuilderFactory.java | 52 ++++++++++++++++++++++ .../endpoint/dsl/IAM2EndpointBuilderFactory.java | 52 ++++++++++++++++++++++ 4 files changed, 176 insertions(+) diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EventbridgeComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EventbridgeComponentBuilderFactory.java index 9c7b1697ea1..10c78fafb3c 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EventbridgeComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EventbridgeComponentBuilderFactory.java @@ -356,6 +356,22 @@ public interface Aws2EventbridgeComponentBuilderFactory { doSetProperty("secretKey", secretKey); return this; } + /** + * Amazon AWS Session Token used when the user needs to assume a IAM + * role. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param sessionToken the value to set + * @return the dsl builder + */ + default Aws2EventbridgeComponentBuilder sessionToken( + java.lang.String sessionToken) { + doSetProperty("sessionToken", sessionToken); + return this; + } /** * If we want to trust all certificates in case of overriding the * endpoint. @@ -408,6 +424,24 @@ public interface Aws2EventbridgeComponentBuilderFactory { doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); return this; } + /** + * Set whether the Eventbridge client should expect to use Session + * Credentials. This is useful in situation in which the user needs to + * assume a IAM role for doing operations in Eventbridge. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default Aws2EventbridgeComponentBuilder useSessionCredentials( + boolean useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } } class Aws2EventbridgeComponentBuilderImpl @@ -450,9 +484,11 @@ public interface Aws2EventbridgeComponentBuilderFactory { case "accessKey": getOrCreateConfiguration((EventbridgeComponent) component).setAccessKey((java.lang.String) value); return true; case "profileCredentialsName": getOrCreateConfiguration((EventbridgeComponent) component).setProfileCredentialsName((java.lang.String) value); return true; case "secretKey": getOrCreateConfiguration((EventbridgeComponent) component).setSecretKey((java.lang.String) value); return true; + case "sessionToken": getOrCreateConfiguration((EventbridgeComponent) component).setSessionToken((java.lang.String) value); return true; case "trustAllCertificates": getOrCreateConfiguration((EventbridgeComponent) component).setTrustAllCertificates((boolean) value); return true; case "useDefaultCredentialsProvider": getOrCreateConfiguration((EventbridgeComponent) component).setUseDefaultCredentialsProvider((boolean) value); return true; case "useProfileCredentialsProvider": getOrCreateConfiguration((EventbridgeComponent) component).setUseProfileCredentialsProvider((boolean) value); return true; + case "useSessionCredentials": getOrCreateConfiguration((EventbridgeComponent) component).setUseSessionCredentials((boolean) value); return true; default: return false; } } diff --git a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2IamComponentBuilderFactory.java b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2IamComponentBuilderFactory.java index c9423ac7e4a..3bbc7ad1c7c 100644 --- a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2IamComponentBuilderFactory.java +++ b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2IamComponentBuilderFactory.java @@ -334,6 +334,22 @@ public interface Aws2IamComponentBuilderFactory { doSetProperty("secretKey", secretKey); return this; } + /** + * Amazon AWS Session Token used when the user needs to assume a IAM + * role. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param sessionToken the value to set + * @return the dsl builder + */ + default Aws2IamComponentBuilder sessionToken( + java.lang.String sessionToken) { + doSetProperty("sessionToken", sessionToken); + return this; + } /** * If we want to trust all certificates in case of overriding the * endpoint. @@ -386,6 +402,24 @@ public interface Aws2IamComponentBuilderFactory { doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); return this; } + /** + * Set whether the IAM client should expect to use Session Credentials. + * This is useful in situation in which the user needs to assume a IAM + * role for doing operations in IAM. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default Aws2IamComponentBuilder useSessionCredentials( + boolean useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } } class Aws2IamComponentBuilderImpl @@ -427,9 +461,11 @@ public interface Aws2IamComponentBuilderFactory { case "accessKey": getOrCreateConfiguration((IAM2Component) component).setAccessKey((java.lang.String) value); return true; case "profileCredentialsName": getOrCreateConfiguration((IAM2Component) component).setProfileCredentialsName((java.lang.String) value); return true; case "secretKey": getOrCreateConfiguration((IAM2Component) component).setSecretKey((java.lang.String) value); return true; + case "sessionToken": getOrCreateConfiguration((IAM2Component) component).setSessionToken((java.lang.String) value); return true; case "trustAllCertificates": getOrCreateConfiguration((IAM2Component) component).setTrustAllCertificates((boolean) value); return true; case "useDefaultCredentialsProvider": getOrCreateConfiguration((IAM2Component) component).setUseDefaultCredentialsProvider((boolean) value); return true; case "useProfileCredentialsProvider": getOrCreateConfiguration((IAM2Component) component).setUseProfileCredentialsProvider((boolean) value); return true; + case "useSessionCredentials": getOrCreateConfiguration((IAM2Component) component).setUseSessionCredentials((boolean) value); return true; default: return false; } } diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java index 7f6ba6951bc..4d55a091920 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EventbridgeEndpointBuilderFactory.java @@ -315,6 +315,21 @@ public interface EventbridgeEndpointBuilderFactory { doSetProperty("secretKey", secretKey); return this; } + /** + * Amazon AWS Session Token used when the user needs to assume a IAM + * role. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param sessionToken the value to set + * @return the dsl builder + */ + default EventbridgeEndpointBuilder sessionToken(String sessionToken) { + doSetProperty("sessionToken", sessionToken); + return this; + } /** * If we want to trust all certificates in case of overriding the * endpoint. @@ -422,6 +437,43 @@ public interface EventbridgeEndpointBuilderFactory { doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); return this; } + /** + * Set whether the Eventbridge client should expect to use Session + * Credentials. This is useful in situation in which the user needs to + * assume a IAM role for doing operations in Eventbridge. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default EventbridgeEndpointBuilder useSessionCredentials( + boolean useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } + /** + * Set whether the Eventbridge client should expect to use Session + * Credentials. This is useful in situation in which the user needs to + * assume a IAM role for doing operations in Eventbridge. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default EventbridgeEndpointBuilder useSessionCredentials( + String useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } } /** diff --git a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java index f99ebacc2db..3716bf67fda 100644 --- a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java +++ b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAM2EndpointBuilderFactory.java @@ -326,6 +326,21 @@ public interface IAM2EndpointBuilderFactory { doSetProperty("secretKey", secretKey); return this; } + /** + * Amazon AWS Session Token used when the user needs to assume a IAM + * role. + * + * The option is a: <code>java.lang.String</code> type. + * + * Group: security + * + * @param sessionToken the value to set + * @return the dsl builder + */ + default IAM2EndpointBuilder sessionToken(String sessionToken) { + doSetProperty("sessionToken", sessionToken); + return this; + } /** * If we want to trust all certificates in case of overriding the * endpoint. @@ -433,6 +448,43 @@ public interface IAM2EndpointBuilderFactory { doSetProperty("useProfileCredentialsProvider", useProfileCredentialsProvider); return this; } + /** + * Set whether the IAM client should expect to use Session Credentials. + * This is useful in situation in which the user needs to assume a IAM + * role for doing operations in IAM. + * + * The option is a: <code>boolean</code> type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default IAM2EndpointBuilder useSessionCredentials( + boolean useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } + /** + * Set whether the IAM client should expect to use Session Credentials. + * This is useful in situation in which the user needs to assume a IAM + * role for doing operations in IAM. + * + * The option will be converted to a <code>boolean</code> + * type. + * + * Default: false + * Group: security + * + * @param useSessionCredentials the value to set + * @return the dsl builder + */ + default IAM2EndpointBuilder useSessionCredentials( + String useSessionCredentials) { + doSetProperty("useSessionCredentials", useSessionCredentials); + return this; + } } /**