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 478bd68a6ec Regen
478bd68a6ec is described below
commit 478bd68a6eca063f90792436a9fddf784d05c2e4
Author: Claus Ibsen <[email protected]>
AuthorDate: Wed Feb 7 07:08:14 2024 +0100
Regen
---
.../camel/catalog/components/splunk-hec.json | 2 +-
.../dsl/Aws2AthenaComponentBuilderFactory.java | 36 +++++++
.../dsl/Aws2CwComponentBuilderFactory.java | 36 +++++++
.../dsl/Aws2Ec2ComponentBuilderFactory.java | 96 ++++++++++++------
.../dsl/Aws2EcsComponentBuilderFactory.java | 36 +++++++
.../dsl/Aws2EksComponentBuilderFactory.java | 36 +++++++
.../dsl/AwsConfigComponentBuilderFactory.java | 36 +++++++
.../AwsSecretsManagerComponentBuilderFactory.java | 36 +++++++
.../dsl/Dhis2ComponentBuilderFactory.java | 25 ++++-
.../dsl/AWS2EC2EndpointBuilderFactory.java | 108 +++++++++++++++------
.../dsl/AWSConfigEndpointBuilderFactory.java | 52 ++++++++++
.../dsl/Athena2EndpointBuilderFactory.java | 52 ++++++++++
.../endpoint/dsl/Cw2EndpointBuilderFactory.java | 52 ++++++++++
.../endpoint/dsl/Dhis2EndpointBuilderFactory.java | 84 +++++++++++++---
.../endpoint/dsl/ECS2EndpointBuilderFactory.java | 52 ++++++++++
.../endpoint/dsl/EKS2EndpointBuilderFactory.java | 52 ++++++++++
.../dsl/SecretsManagerEndpointBuilderFactory.java | 52 ++++++++++
.../endpoint/dsl/XQueryEndpointBuilderFactory.java | 51 ++++++++--
18 files changed, 814 insertions(+), 80 deletions(-)
diff --git
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
index f7c7c4ac7f1..5683789b886 100644
---
a/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
+++
b/catalog/camel-catalog/src/generated/resources/org/apache/camel/catalog/components/splunk-hec.json
@@ -31,7 +31,7 @@
},
"properties": {
"splunkURL": { "index": 0, "kind": "path", "displayName": "Splunk URL",
"group": "producer", "label": "", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Splunk Host and Port
(example: my_splunk_server:8089)" },
- "token": { "index": 1, "kind": "path", "displayName": "Token", "group":
"security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": false, "description": "Splunk HEC token (this is
the token created for HEC and not the user's token)" },
+ "token": { "index": 1, "kind": "path", "displayName": "Token", "group":
"security", "label": "security", "required": true, "type": "string",
"javaType": "java.lang.String", "deprecated": false, "deprecationNote": "",
"autowired": false, "secret": true, "description": "Splunk HEC token (this is
the token created for HEC and not the user's token)" },
"bodyOnly": { "index": 2, "kind": "parameter", "displayName": "Body Only",
"group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.splunkhec.SplunkHECConfiguration",
"configurationField": "configuration", "description": "Send only the message
body" },
"headersOnly": { "index": 3, "kind": "parameter", "displayName": "Headers
Only", "group": "producer", "label": "", "required": false, "type": "boolean",
"javaType": "boolean", "deprecated": false, "autowired": false, "secret":
false, "defaultValue": false, "configurationClass":
"org.apache.camel.component.splunkhec.SplunkHECConfiguration",
"configurationField": "configuration", "description": "Send only message
headers" },
"host": { "index": 4, "kind": "parameter", "displayName": "Host", "group":
"producer", "label": "", "required": false, "type": "string", "javaType":
"java.lang.String", "deprecated": false, "autowired": false, "secret": false,
"configurationClass":
"org.apache.camel.component.splunkhec.SplunkHECConfiguration",
"configurationField": "configuration", "description": "Splunk host field of the
event message. This is not the Splunk host to connect to." },
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2AthenaComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2AthenaComponentBuilderFactory.java
index e58002514d6..fe5f671e191 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2AthenaComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2AthenaComponentBuilderFactory.java
@@ -588,6 +588,22 @@ public interface Aws2AthenaComponentBuilderFactory {
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 Aws2AthenaComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* Set whether the Athena client should expect to load credentials
* through a default credentials provider or to expect static
@@ -623,6 +639,24 @@ public interface Aws2AthenaComponentBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Athena 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 Athena.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Aws2AthenaComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class Aws2AthenaComponentBuilderImpl
@@ -679,8 +713,10 @@ public interface Aws2AthenaComponentBuilderFactory {
case "kmsKey": getOrCreateConfiguration((Athena2Component)
component).setKmsKey((java.lang.String) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((Athena2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
case "secretKey": getOrCreateConfiguration((Athena2Component)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((Athena2Component)
component).setSessionToken((java.lang.String) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((Athena2Component)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
case "useProfileCredentialsProvider":
getOrCreateConfiguration((Athena2Component)
component).setUseProfileCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((Athena2Component)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
index 0e644004547..017a0a506a8 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2CwComponentBuilderFactory.java
@@ -354,6 +354,22 @@ public interface Aws2CwComponentBuilderFactory {
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 Aws2CwComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -406,6 +422,24 @@ public interface Aws2CwComponentBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the CloudWatch 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 CloudWatch.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Aws2CwComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class Aws2CwComponentBuilderImpl
@@ -449,9 +483,11 @@ public interface Aws2CwComponentBuilderFactory {
case "accessKey": getOrCreateConfiguration((Cw2Component)
component).setAccessKey((java.lang.String) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((Cw2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
case "secretKey": getOrCreateConfiguration((Cw2Component)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((Cw2Component)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((Cw2Component)
component).setTrustAllCertificates((boolean) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((Cw2Component)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
case "useProfileCredentialsProvider":
getOrCreateConfiguration((Cw2Component)
component).setUseProfileCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((Cw2Component)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2Ec2ComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2Ec2ComponentBuilderFactory.java
index 9b30ffdfef6..d6dd898c833 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2Ec2ComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2Ec2ComponentBuilderFactory.java
@@ -50,20 +50,6 @@ public interface Aws2Ec2ComponentBuilderFactory {
interface Aws2Ec2ComponentBuilder
extends
ComponentBuilder<AWS2EC2Component> {
- /**
- * Amazon AWS Access Key.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param accessKey the value to set
- * @return the dsl builder
- */
- default Aws2Ec2ComponentBuilder accessKey(java.lang.String accessKey) {
- doSetProperty("accessKey", accessKey);
- return this;
- }
/**
* To use a existing configured AmazonEC2Client as client.
*
@@ -188,20 +174,6 @@ public interface Aws2Ec2ComponentBuilderFactory {
doSetProperty("region", region);
return this;
}
- /**
- * Amazon AWS Secret Key.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param secretKey the value to set
- * @return the dsl builder
- */
- default Aws2Ec2ComponentBuilder secretKey(java.lang.String secretKey) {
- doSetProperty("secretKey", secretKey);
- return this;
- }
/**
* Set the overriding uri endpoint. This option needs to be used in
* combination with overrideEndpoint option.
@@ -320,6 +292,20 @@ public interface Aws2Ec2ComponentBuilderFactory {
doSetProperty("proxyProtocol", proxyProtocol);
return this;
}
+ /**
+ * Amazon AWS Access Key.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param accessKey the value to set
+ * @return the dsl builder
+ */
+ default Aws2Ec2ComponentBuilder accessKey(java.lang.String accessKey) {
+ doSetProperty("accessKey", accessKey);
+ return this;
+ }
/**
* If using a profile credentials provider this parameter will set the
* profile name.
@@ -336,6 +322,36 @@ public interface Aws2Ec2ComponentBuilderFactory {
doSetProperty("profileCredentialsName", profileCredentialsName);
return this;
}
+ /**
+ * Amazon AWS Secret Key.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param secretKey the value to set
+ * @return the dsl builder
+ */
+ default Aws2Ec2ComponentBuilder secretKey(java.lang.String secretKey) {
+ 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 Aws2Ec2ComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -388,6 +404,24 @@ public interface Aws2Ec2ComponentBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the EC2 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 EC2.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Aws2Ec2ComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class Aws2Ec2ComponentBuilderImpl
@@ -412,7 +446,6 @@ public interface Aws2Ec2ComponentBuilderFactory {
String name,
Object value) {
switch (name) {
- case "accessKey": getOrCreateConfiguration((AWS2EC2Component)
component).setAccessKey((java.lang.String) value); return true;
case "amazonEc2Client":
getOrCreateConfiguration((AWS2EC2Component)
component).setAmazonEc2Client((software.amazon.awssdk.services.ec2.Ec2Client)
value); return true;
case "configuration": ((AWS2EC2Component)
component).setConfiguration((org.apache.camel.component.aws2.ec2.AWS2EC2Configuration)
value); return true;
case "lazyStartProducer": ((AWS2EC2Component)
component).setLazyStartProducer((boolean) value); return true;
@@ -420,7 +453,6 @@ public interface Aws2Ec2ComponentBuilderFactory {
case "overrideEndpoint":
getOrCreateConfiguration((AWS2EC2Component)
component).setOverrideEndpoint((boolean) value); return true;
case "pojoRequest": getOrCreateConfiguration((AWS2EC2Component)
component).setPojoRequest((boolean) value); return true;
case "region": getOrCreateConfiguration((AWS2EC2Component)
component).setRegion((java.lang.String) value); return true;
- case "secretKey": getOrCreateConfiguration((AWS2EC2Component)
component).setSecretKey((java.lang.String) value); return true;
case "uriEndpointOverride":
getOrCreateConfiguration((AWS2EC2Component)
component).setUriEndpointOverride((java.lang.String) value); return true;
case "autowiredEnabled": ((AWS2EC2Component)
component).setAutowiredEnabled((boolean) value); return true;
case "healthCheckConsumerEnabled": ((AWS2EC2Component)
component).setHealthCheckConsumerEnabled((boolean) value); return true;
@@ -428,10 +460,14 @@ public interface Aws2Ec2ComponentBuilderFactory {
case "proxyHost": getOrCreateConfiguration((AWS2EC2Component)
component).setProxyHost((java.lang.String) value); return true;
case "proxyPort": getOrCreateConfiguration((AWS2EC2Component)
component).setProxyPort((java.lang.Integer) value); return true;
case "proxyProtocol": getOrCreateConfiguration((AWS2EC2Component)
component).setProxyProtocol((software.amazon.awssdk.core.Protocol) value);
return true;
+ case "accessKey": getOrCreateConfiguration((AWS2EC2Component)
component).setAccessKey((java.lang.String) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((AWS2EC2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
+ case "secretKey": getOrCreateConfiguration((AWS2EC2Component)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((AWS2EC2Component)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((AWS2EC2Component)
component).setTrustAllCertificates((boolean) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((AWS2EC2Component)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
case "useProfileCredentialsProvider":
getOrCreateConfiguration((AWS2EC2Component)
component).setUseProfileCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((AWS2EC2Component)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EcsComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EcsComponentBuilderFactory.java
index 9f3417c3a1c..2e539fbc88d 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EcsComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EcsComponentBuilderFactory.java
@@ -331,6 +331,22 @@ public interface Aws2EcsComponentBuilderFactory {
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 Aws2EcsComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -383,6 +399,24 @@ public interface Aws2EcsComponentBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the ECS 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 ECS.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Aws2EcsComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class Aws2EcsComponentBuilderImpl
@@ -424,9 +458,11 @@ public interface Aws2EcsComponentBuilderFactory {
case "accessKey": getOrCreateConfiguration((ECS2Component)
component).setAccessKey((java.lang.String) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((ECS2Component)
component).setProfileCredentialsName((java.lang.String) value); return true;
case "secretKey": getOrCreateConfiguration((ECS2Component)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((ECS2Component)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((ECS2Component)
component).setTrustAllCertificates((boolean) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((ECS2Component)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
case "useProfileCredentialsProvider":
getOrCreateConfiguration((ECS2Component)
component).setUseProfileCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((ECS2Component)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EksComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EksComponentBuilderFactory.java
index 74a7d365efa..42b8c3b6776 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EksComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Aws2EksComponentBuilderFactory.java
@@ -367,6 +367,22 @@ public interface Aws2EksComponentBuilderFactory {
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 Aws2EksComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -384,6 +400,24 @@ public interface Aws2EksComponentBuilderFactory {
doSetProperty("trustAllCertificates", trustAllCertificates);
return this;
}
+ /**
+ * Set whether the EKS 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 EKS.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Aws2EksComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class Aws2EksComponentBuilderImpl
@@ -427,7 +461,9 @@ public interface Aws2EksComponentBuilderFactory {
case "proxyProtocol": getOrCreateConfiguration((EKS2Component)
component).setProxyProtocol((software.amazon.awssdk.core.Protocol) value);
return true;
case "accessKey": getOrCreateConfiguration((EKS2Component)
component).setAccessKey((java.lang.String) value); return true;
case "secretKey": getOrCreateConfiguration((EKS2Component)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((EKS2Component)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((EKS2Component)
component).setTrustAllCertificates((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((EKS2Component)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsConfigComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsConfigComponentBuilderFactory.java
index b9480f27505..bc3360ccbc4 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsConfigComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsConfigComponentBuilderFactory.java
@@ -333,6 +333,22 @@ public interface AwsConfigComponentBuilderFactory {
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 AwsConfigComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -385,6 +401,24 @@ public interface AwsConfigComponentBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Config 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 Config.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default AwsConfigComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class AwsConfigComponentBuilderImpl
@@ -426,9 +460,11 @@ public interface AwsConfigComponentBuilderFactory {
case "accessKey": getOrCreateConfiguration((AWSConfigComponent)
component).setAccessKey((java.lang.String) value); return true;
case "profileCredentialsName":
getOrCreateConfiguration((AWSConfigComponent)
component).setProfileCredentialsName((java.lang.String) value); return true;
case "secretKey": getOrCreateConfiguration((AWSConfigComponent)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken": getOrCreateConfiguration((AWSConfigComponent)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((AWSConfigComponent)
component).setTrustAllCertificates((boolean) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((AWSConfigComponent)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
case "useProfileCredentialsProvider":
getOrCreateConfiguration((AWSConfigComponent)
component).setUseProfileCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((AWSConfigComponent)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsSecretsManagerComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsSecretsManagerComponentBuilderFactory.java
index 703d10aa5df..250ae0d7c08 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsSecretsManagerComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsSecretsManagerComponentBuilderFactory.java
@@ -372,6 +372,22 @@ public interface AwsSecretsManagerComponentBuilderFactory {
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 AwsSecretsManagerComponentBuilder sessionToken(
+ java.lang.String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -407,6 +423,24 @@ public interface AwsSecretsManagerComponentBuilderFactory {
doSetProperty("useDefaultCredentialsProvider",
useDefaultCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Secrets Manager 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 Secrets Manager.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default AwsSecretsManagerComponentBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
class AwsSecretsManagerComponentBuilderImpl
@@ -450,8 +484,10 @@ public interface AwsSecretsManagerComponentBuilderFactory {
case "proxyProtocol":
getOrCreateConfiguration((SecretsManagerComponent)
component).setProxyProtocol((software.amazon.awssdk.core.Protocol) value);
return true;
case "accessKey":
getOrCreateConfiguration((SecretsManagerComponent)
component).setAccessKey((java.lang.String) value); return true;
case "secretKey":
getOrCreateConfiguration((SecretsManagerComponent)
component).setSecretKey((java.lang.String) value); return true;
+ case "sessionToken":
getOrCreateConfiguration((SecretsManagerComponent)
component).setSessionToken((java.lang.String) value); return true;
case "trustAllCertificates":
getOrCreateConfiguration((SecretsManagerComponent)
component).setTrustAllCertificates((boolean) value); return true;
case "useDefaultCredentialsProvider":
getOrCreateConfiguration((SecretsManagerComponent)
component).setUseDefaultCredentialsProvider((boolean) value); return true;
+ case "useSessionCredentials":
getOrCreateConfiguration((SecretsManagerComponent)
component).setUseSessionCredentials((boolean) value); return true;
default: return false;
}
}
diff --git
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Dhis2ComponentBuilderFactory.java
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Dhis2ComponentBuilderFactory.java
index bed6954a340..a928b2450ab 100644
---
a/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Dhis2ComponentBuilderFactory.java
+++
b/dsl/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/Dhis2ComponentBuilderFactory.java
@@ -138,7 +138,9 @@ public interface Dhis2ComponentBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option is a:
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -170,7 +172,7 @@ public interface Dhis2ComponentBuilderFactory {
return this;
}
/**
- * DHIS2 account password for accessing the DHIS2 API.
+ * Password of the DHIS2 username.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -184,7 +186,23 @@ public interface Dhis2ComponentBuilderFactory {
return this;
}
/**
- * DHIS2 account username for accessing the DHIS2 API.
+ * Personal access token to authenticate with DHIS2. This option is
+ * mutually exclusive to username and password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param personalAccessToken the value to set
+ * @return the dsl builder
+ */
+ default Dhis2ComponentBuilder personalAccessToken(
+ java.lang.String personalAccessToken) {
+ doSetProperty("personalAccessToken", personalAccessToken);
+ return this;
+ }
+ /**
+ * Username of the DHIS2 user to operate as.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -228,6 +246,7 @@ public interface Dhis2ComponentBuilderFactory {
case "client": getOrCreateConfiguration((Dhis2Component)
component).setClient((org.hisp.dhis.integration.sdk.api.Dhis2Client) value);
return true;
case "configuration": ((Dhis2Component)
component).setConfiguration((org.apache.camel.component.dhis2.Dhis2Configuration)
value); return true;
case "password": getOrCreateConfiguration((Dhis2Component)
component).setPassword((java.lang.String) value); return true;
+ case "personalAccessToken":
getOrCreateConfiguration((Dhis2Component)
component).setPersonalAccessToken((java.lang.String) value); return true;
case "username": getOrCreateConfiguration((Dhis2Component)
component).setUsername((java.lang.String) value); return true;
default: return false;
}
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2EC2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2EC2EndpointBuilderFactory.java
index 8d9c04c46e6..0c3a6de0371 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2EC2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWS2EC2EndpointBuilderFactory.java
@@ -41,20 +41,6 @@ public interface AWS2EC2EndpointBuilderFactory {
default AdvancedAWS2EC2EndpointBuilder advanced() {
return (AdvancedAWS2EC2EndpointBuilder) this;
}
- /**
- * Amazon AWS Access Key.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param accessKey the value to set
- * @return the dsl builder
- */
- default AWS2EC2EndpointBuilder accessKey(String accessKey) {
- doSetProperty("accessKey", accessKey);
- return this;
- }
/**
* To use a existing configured AmazonEC2Client as client.
*
@@ -206,20 +192,6 @@ public interface AWS2EC2EndpointBuilderFactory {
doSetProperty("region", region);
return this;
}
- /**
- * Amazon AWS Secret Key.
- *
- * The option is a: <code>java.lang.String</code> type.
- *
- * Group: producer
- *
- * @param secretKey the value to set
- * @return the dsl builder
- */
- default AWS2EC2EndpointBuilder secretKey(String secretKey) {
- doSetProperty("secretKey", secretKey);
- return this;
- }
/**
* Set the overriding uri endpoint. This option needs to be used in
* combination with overrideEndpoint option.
@@ -312,6 +284,20 @@ public interface AWS2EC2EndpointBuilderFactory {
doSetProperty("proxyProtocol", proxyProtocol);
return this;
}
+ /**
+ * Amazon AWS Access Key.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param accessKey the value to set
+ * @return the dsl builder
+ */
+ default AWS2EC2EndpointBuilder accessKey(String accessKey) {
+ doSetProperty("accessKey", accessKey);
+ return this;
+ }
/**
* If using a profile credentials provider this parameter will set the
* profile name.
@@ -328,6 +314,35 @@ public interface AWS2EC2EndpointBuilderFactory {
doSetProperty("profileCredentialsName", profileCredentialsName);
return this;
}
+ /**
+ * Amazon AWS Secret Key.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param secretKey the value to set
+ * @return the dsl builder
+ */
+ default AWS2EC2EndpointBuilder secretKey(String secretKey) {
+ 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 AWS2EC2EndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -435,6 +450,43 @@ public interface AWS2EC2EndpointBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the EC2 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 EC2.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default AWS2EC2EndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the EC2 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 EC2.
+ *
+ * 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 AWS2EC2EndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
index 466ba85f206..c49b15de1bf 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/AWSConfigEndpointBuilderFactory.java
@@ -293,6 +293,21 @@ public interface AWSConfigEndpointBuilderFactory {
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 AWSConfigEndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -400,6 +415,43 @@ public interface AWSConfigEndpointBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Config 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 Config.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default AWSConfigEndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the Config 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 Config.
+ *
+ * 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 AWSConfigEndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Athena2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Athena2EndpointBuilderFactory.java
index 67e6c1cd1bf..271bd49fde0 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Athena2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Athena2EndpointBuilderFactory.java
@@ -618,6 +618,21 @@ public interface Athena2EndpointBuilderFactory {
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 Athena2EndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* Set whether the Athena client should expect to load credentials
* through a default credentials provider or to expect static
@@ -690,6 +705,43 @@ public interface Athena2EndpointBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Athena 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 Athena.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Athena2EndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the Athena 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 Athena.
+ *
+ * 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 Athena2EndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
index 3571bb9aa27..0c93c15fd7e 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Cw2EndpointBuilderFactory.java
@@ -313,6 +313,21 @@ public interface Cw2EndpointBuilderFactory {
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 Cw2EndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -420,6 +435,43 @@ public interface Cw2EndpointBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the CloudWatch 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 CloudWatch.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default Cw2EndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the CloudWatch 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 CloudWatch.
+ *
+ * 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 Cw2EndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Dhis2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Dhis2EndpointBuilderFactory.java
index 43a73f73ff5..f80008fe6a0 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Dhis2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/Dhis2EndpointBuilderFactory.java
@@ -585,7 +585,7 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account password for accessing the DHIS2 API.
+ * Password of the DHIS2 username.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -599,7 +599,23 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account username for accessing the DHIS2 API.
+ * Personal access token to authenticate with DHIS2. This option is
+ * mutually exclusive to username and password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param personalAccessToken the value to set
+ * @return the dsl builder
+ */
+ default Dhis2EndpointConsumerBuilder personalAccessToken(
+ String personalAccessToken) {
+ doSetProperty("personalAccessToken", personalAccessToken);
+ return this;
+ }
+ /**
+ * Username of the DHIS2 user to operate as.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -788,7 +804,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option is a:
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -805,7 +823,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option will be converted to a
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -860,7 +880,7 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account password for accessing the DHIS2 API.
+ * Password of the DHIS2 username.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -874,7 +894,23 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account username for accessing the DHIS2 API.
+ * Personal access token to authenticate with DHIS2. This option is
+ * mutually exclusive to username and password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param personalAccessToken the value to set
+ * @return the dsl builder
+ */
+ default Dhis2EndpointProducerBuilder personalAccessToken(
+ String personalAccessToken) {
+ doSetProperty("personalAccessToken", personalAccessToken);
+ return this;
+ }
+ /**
+ * Username of the DHIS2 user to operate as.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -949,7 +985,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option is a:
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -966,7 +1004,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option will be converted to a
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -1022,7 +1062,7 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account password for accessing the DHIS2 API.
+ * Password of the DHIS2 username.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -1036,7 +1076,23 @@ public interface Dhis2EndpointBuilderFactory {
return this;
}
/**
- * DHIS2 account username for accessing the DHIS2 API.
+ * Personal access token to authenticate with DHIS2. This option is
+ * mutually exclusive to username and password.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ *
+ * @param personalAccessToken the value to set
+ * @return the dsl builder
+ */
+ default Dhis2EndpointBuilder personalAccessToken(
+ String personalAccessToken) {
+ doSetProperty("personalAccessToken", personalAccessToken);
+ return this;
+ }
+ /**
+ * Username of the DHIS2 user to operate as.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -1063,7 +1119,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option is a:
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
@@ -1080,7 +1138,9 @@ public interface Dhis2EndpointBuilderFactory {
}
/**
* References a user-defined
- * org.hisp.dhis.integration.sdk.api.Dhis2Client.
+ * org.hisp.dhis.integration.sdk.api.Dhis2Client. This option is
+ * mutually exclusive to the baseApiUrl, username, password, and
+ * personalAccessToken options.
*
* The option will be converted to a
*
<code>org.hisp.dhis.integration.sdk.api.Dhis2Client</code> type.
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ECS2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ECS2EndpointBuilderFactory.java
index 04fdccab59d..18651aa17d9 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ECS2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/ECS2EndpointBuilderFactory.java
@@ -292,6 +292,21 @@ public interface ECS2EndpointBuilderFactory {
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 ECS2EndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -399,6 +414,43 @@ public interface ECS2EndpointBuilderFactory {
doSetProperty("useProfileCredentialsProvider",
useProfileCredentialsProvider);
return this;
}
+ /**
+ * Set whether the ECS 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 ECS.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default ECS2EndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the ECS 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 ECS.
+ *
+ * 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 ECS2EndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKS2EndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKS2EndpointBuilderFactory.java
index 410cc6c003d..aecdfc2ecac 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKS2EndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKS2EndpointBuilderFactory.java
@@ -365,6 +365,21 @@ public interface EKS2EndpointBuilderFactory {
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 EKS2EndpointBuilder sessionToken(String sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -400,6 +415,43 @@ public interface EKS2EndpointBuilderFactory {
doSetProperty("trustAllCertificates", trustAllCertificates);
return this;
}
+ /**
+ * Set whether the EKS 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 EKS.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default EKS2EndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the EKS 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 EKS.
+ *
+ * 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 EKS2EndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
index 2bae2aacc6f..9f7caf957f3 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/SecretsManagerEndpointBuilderFactory.java
@@ -364,6 +364,21 @@ public interface SecretsManagerEndpointBuilderFactory {
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 SecretsManagerEndpointBuilder sessionToken(String
sessionToken) {
+ doSetProperty("sessionToken", sessionToken);
+ return this;
+ }
/**
* If we want to trust all certificates in case of overriding the
* endpoint.
@@ -436,6 +451,43 @@ public interface SecretsManagerEndpointBuilderFactory {
doSetProperty("useDefaultCredentialsProvider",
useDefaultCredentialsProvider);
return this;
}
+ /**
+ * Set whether the Secrets Manager 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 Secrets Manager.
+ *
+ * The option is a: <code>boolean</code> type.
+ *
+ * Default: false
+ * Group: security
+ *
+ * @param useSessionCredentials the value to set
+ * @return the dsl builder
+ */
+ default SecretsManagerEndpointBuilder useSessionCredentials(
+ boolean useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
+ /**
+ * Set whether the Secrets Manager 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 Secrets Manager.
+ *
+ * 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 SecretsManagerEndpointBuilder useSessionCredentials(
+ String useSessionCredentials) {
+ doSetProperty("useSessionCredentials", useSessionCredentials);
+ return this;
+ }
}
/**
diff --git
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/XQueryEndpointBuilderFactory.java
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/XQueryEndpointBuilderFactory.java
index 8126beddaf2..a4363b4a5f9 100644
---
a/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/XQueryEndpointBuilderFactory.java
+++
b/dsl/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/XQueryEndpointBuilderFactory.java
@@ -127,8 +127,7 @@ public interface XQueryEndpointBuilderFactory {
}
/**
* To use a Camel Exchange property as the input source instead of
- * Message body. It has a lower precedent than the name of header if
- * both are set.
+ * Message body.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -238,6 +237,20 @@ public interface XQueryEndpointBuilderFactory {
doSetProperty("stripsAllWhiteSpace", stripsAllWhiteSpace);
return this;
}
+ /**
+ * To use a variable as the input source instead of Message body.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param variableName the value to set
+ * @return the dsl builder
+ */
+ default XQueryEndpointConsumerBuilder variableName(String
variableName) {
+ doSetProperty("variableName", variableName);
+ return this;
+ }
/**
* If the polling consumer did not poll any files, you can enable this
* option to send an empty message (no body) instead.
@@ -1210,8 +1223,7 @@ public interface XQueryEndpointBuilderFactory {
}
/**
* To use a Camel Exchange property as the input source instead of
- * Message body. It has a lower precedent than the name of header if
- * both are set.
+ * Message body.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -1321,6 +1333,20 @@ public interface XQueryEndpointBuilderFactory {
doSetProperty("stripsAllWhiteSpace", stripsAllWhiteSpace);
return this;
}
+ /**
+ * To use a variable as the input source instead of Message body.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param variableName the value to set
+ * @return the dsl builder
+ */
+ default XQueryEndpointProducerBuilder variableName(String
variableName) {
+ doSetProperty("variableName", variableName);
+ return this;
+ }
}
/**
@@ -1668,8 +1694,7 @@ public interface XQueryEndpointBuilderFactory {
}
/**
* To use a Camel Exchange property as the input source instead of
- * Message body. It has a lower precedent than the name of header if
- * both are set.
+ * Message body.
*
* The option is a: <code>java.lang.String</code> type.
*
@@ -1779,6 +1804,20 @@ public interface XQueryEndpointBuilderFactory {
doSetProperty("stripsAllWhiteSpace", stripsAllWhiteSpace);
return this;
}
+ /**
+ * To use a variable as the input source instead of Message body.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: common
+ *
+ * @param variableName the value to set
+ * @return the dsl builder
+ */
+ default XQueryEndpointBuilder variableName(String variableName) {
+ doSetProperty("variableName", variableName);
+ return this;
+ }
}
/**