This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git

commit 724d7f817ee00b0fae2710ac6db3bcd9685edac0
Author: Andrea Cosentino <[email protected]>
AuthorDate: Wed Feb 24 07:38:16 2021 +0100

    CAMEL-16115 - Remove Camel-AWS-* components - AWS-EC2
---
 .../component/ComponentsBuilderFactory.java        |  16 +-
 .../dsl/AwsEc2ComponentBuilderFactory.java         | 295 ----------------
 .../builder/endpoint/StaticEndpointBuilders.java   |  47 +--
 .../endpoint/dsl/EC2EndpointBuilderFactory.java    | 388 ---------------------
 4 files changed, 2 insertions(+), 744 deletions(-)

diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
index dd33835..03f408a 100644
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
+++ 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/ComponentsBuilderFactory.java
@@ -348,20 +348,6 @@ public interface ComponentsBuilderFactory {
         return 
org.apache.camel.builder.component.dsl.AwsDdbstreamComponentBuilderFactory.awsDdbstream();
     }
     /**
-     * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-     * Manage AWS EC2 instances.
-     * 
-     * Category: cloud,management
-     * Since: 2.16
-     * Maven coordinates: org.apache.camel:camel-aws-ec2
-     * 
-     * @return the dsl builder
-     */
-    @Deprecated
-    static 
org.apache.camel.builder.component.dsl.AwsEc2ComponentBuilderFactory.AwsEc2ComponentBuilder
 awsEc2() {
-        return 
org.apache.camel.builder.component.dsl.AwsEc2ComponentBuilderFactory.awsEc2();
-    }
-    /**
      * AWS S3 Storage Service (camel-aws-s3)
      * Store and retrieve objects from AWS S3 Storage Service.
      * 
@@ -4750,4 +4736,4 @@ public interface ComponentsBuilderFactory {
     static 
org.apache.camel.builder.component.dsl.ZookeeperMasterComponentBuilderFactory.ZookeeperMasterComponentBuilder
 zookeeperMaster() {
         return 
org.apache.camel.builder.component.dsl.ZookeeperMasterComponentBuilderFactory.zookeeperMaster();
     }
-}
\ No newline at end of file
+}
diff --git 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsEc2ComponentBuilderFactory.java
 
b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsEc2ComponentBuilderFactory.java
deleted file mode 100644
index dc7a648..0000000
--- 
a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsEc2ComponentBuilderFactory.java
+++ /dev/null
@@ -1,295 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.component.dsl;
-
-import javax.annotation.Generated;
-import org.apache.camel.Component;
-import org.apache.camel.builder.component.AbstractComponentBuilder;
-import org.apache.camel.builder.component.ComponentBuilder;
-import org.apache.camel.component.aws.ec2.EC2Component;
-
-/**
- * Manage AWS EC2 instances.
- * 
- * Generated by camel-package-maven-plugin - do not edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.ComponentDslMojo")
-public interface AwsEc2ComponentBuilderFactory {
-
-    /**
-     * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-     * Manage AWS EC2 instances.
-     * 
-     * Category: cloud,management
-     * Since: 2.16
-     * Maven coordinates: org.apache.camel:camel-aws-ec2
-     * 
-     * @return the dsl builder
-     */
-    @Deprecated
-    static AwsEc2ComponentBuilder awsEc2() {
-        return new AwsEc2ComponentBuilderImpl();
-    }
-
-    /**
-     * Builder for the AWS Elastic Compute Cloud (EC2) component.
-     */
-    interface AwsEc2ComponentBuilder extends ComponentBuilder<EC2Component> {
-        /**
-         * Setting the autoDiscoverClient mechanism, if true, the component 
will
-         * look for a client instance in the registry automatically otherwise 
it
-         * will skip that checking.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: true
-         * Group: common
-         * 
-         * @param autoDiscoverClient the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder autoDiscoverClient(
-                boolean autoDiscoverClient) {
-            doSetProperty("autoDiscoverClient", autoDiscoverClient);
-            return this;
-        }
-        /**
-         * Amazon AWS Access Key.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param accessKey the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder accessKey(java.lang.String accessKey) {
-            doSetProperty("accessKey", accessKey);
-            return this;
-        }
-        /**
-         * To use a existing configured AmazonEC2Client as client.
-         * 
-         * The option is a:
-         * &lt;code&gt;com.amazonaws.services.ec2.AmazonEC2&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param amazonEc2Client the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder amazonEc2Client(
-                com.amazonaws.services.ec2.AmazonEC2 amazonEc2Client) {
-            doSetProperty("amazonEc2Client", amazonEc2Client);
-            return this;
-        }
-        /**
-         * The component configuration.
-         * 
-         * The option is a:
-         * 
&lt;code&gt;org.apache.camel.component.aws.ec2.EC2Configuration&lt;/code&gt; 
type.
-         * 
-         * Group: producer
-         * 
-         * @param configuration the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder configuration(
-                org.apache.camel.component.aws.ec2.EC2Configuration 
configuration) {
-            doSetProperty("configuration", configuration);
-            return this;
-        }
-        /**
-         * Whether the producer should be started lazy (on the first message).
-         * By starting lazy you can use this to allow CamelContext and routes 
to
-         * startup in situations where a producer may otherwise fail during
-         * starting and cause the route to fail being started. By deferring 
this
-         * startup to be lazy then the startup failure can be handled during
-         * routing messages via Camel's routing error handlers. Beware that 
when
-         * the first message is processed then creating and starting the
-         * producer may take a little time and prolong the total processing 
time
-         * of the processing.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: false
-         * Group: producer
-         * 
-         * @param lazyStartProducer the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder lazyStartProducer(
-                boolean lazyStartProducer) {
-            doSetProperty("lazyStartProducer", lazyStartProducer);
-            return this;
-        }
-        /**
-         * The operation to perform. It can be createAndRunInstances,
-         * startInstances, stopInstances, terminateInstances, 
describeInstances,
-         * describeInstancesStatus, rebootInstances, monitorInstances,
-         * unmonitorInstances, createTags or deleteTags.
-         * 
-         * The option is a:
-         * 
&lt;code&gt;org.apache.camel.component.aws.ec2.EC2Operations&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param operation the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder operation(
-                org.apache.camel.component.aws.ec2.EC2Operations operation) {
-            doSetProperty("operation", operation);
-            return this;
-        }
-        /**
-         * To define a proxy host when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param proxyHost the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder proxyHost(java.lang.String proxyHost) {
-            doSetProperty("proxyHost", proxyHost);
-            return this;
-        }
-        /**
-         * To define a proxy port when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param proxyPort the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder proxyPort(java.lang.Integer proxyPort) {
-            doSetProperty("proxyPort", proxyPort);
-            return this;
-        }
-        /**
-         * To define a proxy protocol when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;com.amazonaws.Protocol&lt;/code&gt;
-         * type.
-         * 
-         * Default: HTTPS
-         * Group: producer
-         * 
-         * @param proxyProtocol the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder proxyProtocol(
-                com.amazonaws.Protocol proxyProtocol) {
-            doSetProperty("proxyProtocol", proxyProtocol);
-            return this;
-        }
-        /**
-         * The region in which ECS 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: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param region the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder region(java.lang.String region) {
-            doSetProperty("region", region);
-            return this;
-        }
-        /**
-         * Amazon AWS Secret Key.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param secretKey the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder secretKey(java.lang.String secretKey) {
-            doSetProperty("secretKey", secretKey);
-            return this;
-        }
-        /**
-         * Whether autowiring is enabled. This is used for automatic autowiring
-         * options (the option must be marked as autowired) by looking up in 
the
-         * registry to find if there is a single instance of matching type,
-         * which then gets configured on the component. This can be used for
-         * automatic configuring JDBC data sources, JMS connection factories,
-         * AWS Clients, etc.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: true
-         * Group: advanced
-         * 
-         * @param autowiredEnabled the value to set
-         * @return the dsl builder
-         */
-        default AwsEc2ComponentBuilder autowiredEnabled(boolean 
autowiredEnabled) {
-            doSetProperty("autowiredEnabled", autowiredEnabled);
-            return this;
-        }
-    }
-
-    class AwsEc2ComponentBuilderImpl
-            extends
-                AbstractComponentBuilder<EC2Component>
-            implements
-                AwsEc2ComponentBuilder {
-        @Override
-        protected EC2Component buildConcreteComponent() {
-            return new EC2Component();
-        }
-        private org.apache.camel.component.aws.ec2.EC2Configuration 
getOrCreateConfiguration(
-                org.apache.camel.component.aws.ec2.EC2Component component) {
-            if (component.getConfiguration() == null) {
-                component.setConfiguration(new 
org.apache.camel.component.aws.ec2.EC2Configuration());
-            }
-            return component.getConfiguration();
-        }
-        @Override
-        protected boolean setPropertyOnComponent(
-                Component component,
-                String name,
-                Object value) {
-            switch (name) {
-            case "autoDiscoverClient": getOrCreateConfiguration((EC2Component) 
component).setAutoDiscoverClient((boolean) value); return true;
-            case "accessKey": getOrCreateConfiguration((EC2Component) 
component).setAccessKey((java.lang.String) value); return true;
-            case "amazonEc2Client": getOrCreateConfiguration((EC2Component) 
component).setAmazonEc2Client((com.amazonaws.services.ec2.AmazonEC2) value); 
return true;
-            case "configuration": ((EC2Component) 
component).setConfiguration((org.apache.camel.component.aws.ec2.EC2Configuration)
 value); return true;
-            case "lazyStartProducer": ((EC2Component) 
component).setLazyStartProducer((boolean) value); return true;
-            case "operation": getOrCreateConfiguration((EC2Component) 
component).setOperation((org.apache.camel.component.aws.ec2.EC2Operations) 
value); return true;
-            case "proxyHost": getOrCreateConfiguration((EC2Component) 
component).setProxyHost((java.lang.String) value); return true;
-            case "proxyPort": getOrCreateConfiguration((EC2Component) 
component).setProxyPort((java.lang.Integer) value); return true;
-            case "proxyProtocol": getOrCreateConfiguration((EC2Component) 
component).setProxyProtocol((com.amazonaws.Protocol) value); return true;
-            case "region": getOrCreateConfiguration((EC2Component) 
component).setRegion((java.lang.String) value); return true;
-            case "secretKey": getOrCreateConfiguration((EC2Component) 
component).setSecretKey((java.lang.String) value); return true;
-            case "autowiredEnabled": ((EC2Component) 
component).setAutowiredEnabled((boolean) value); return true;
-            default: return false;
-            }
-        }
-    }
-}
\ No newline at end of file
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
index 26c5ed5..6ef978c 100644
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
+++ 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/StaticEndpointBuilders.java
@@ -1967,51 +1967,6 @@ public class StaticEndpointBuilders {
         return 
org.apache.camel.builder.endpoint.dsl.DdbStreamEndpointBuilderFactory.endpointBuilder(componentName,
 path);
     }
     /**
-     * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-     * Manage AWS EC2 instances.
-     * 
-     * Category: cloud,management
-     * Since: 2.16
-     * Maven coordinates: org.apache.camel:camel-aws-ec2
-     * 
-     * Syntax: <code>aws-ec2:label</code>
-     * 
-     * Path parameter: label (required)
-     * Logical name
-     * 
-     * @param path label
-     * @return the dsl builder
-     */
-    @Deprecated
-    public static 
org.apache.camel.builder.endpoint.dsl.EC2EndpointBuilderFactory.EC2EndpointBuilder
 awsEc2(
-            String path) {
-        return 
org.apache.camel.builder.endpoint.dsl.EC2EndpointBuilderFactory.endpointBuilder("aws-ec2",
 path);
-    }
-    /**
-     * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-     * Manage AWS EC2 instances.
-     * 
-     * Category: cloud,management
-     * Since: 2.16
-     * Maven coordinates: org.apache.camel:camel-aws-ec2
-     * 
-     * Syntax: <code>aws-ec2:label</code>
-     * 
-     * Path parameter: label (required)
-     * Logical name
-     * 
-     * @param componentName to use a custom component name for the endpoint
-     * instead of the default name
-     * @param path label
-     * @return the dsl builder
-     */
-    @Deprecated
-    public static 
org.apache.camel.builder.endpoint.dsl.EC2EndpointBuilderFactory.EC2EndpointBuilder
 awsEc2(
-            String componentName,
-            String path) {
-        return 
org.apache.camel.builder.endpoint.dsl.EC2EndpointBuilderFactory.endpointBuilder(componentName,
 path);
-    }
-    /**
      * AWS S3 Storage Service (camel-aws-s3)
      * Store and retrieve objects from AWS S3 Storage Service.
      * 
@@ -16667,4 +16622,4 @@ public class StaticEndpointBuilders {
         return 
org.apache.camel.builder.endpoint.dsl.ZooKeeperMasterEndpointBuilderFactory.endpointBuilder(componentName,
 path);
     }
 }
-//CHECKSTYLE:ON
\ No newline at end of file
+//CHECKSTYLE:ON
diff --git 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EC2EndpointBuilderFactory.java
 
b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EC2EndpointBuilderFactory.java
deleted file mode 100644
index df4bbc0..0000000
--- 
a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EC2EndpointBuilderFactory.java
+++ /dev/null
@@ -1,388 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.builder.endpoint.dsl;
-
-import javax.annotation.Generated;
-import org.apache.camel.builder.EndpointConsumerBuilder;
-import org.apache.camel.builder.EndpointProducerBuilder;
-import org.apache.camel.builder.endpoint.AbstractEndpointBuilder;
-
-/**
- * Manage AWS EC2 instances.
- * 
- * Generated by camel build tools - do NOT edit this file!
- */
-@Generated("org.apache.camel.maven.packaging.EndpointDslMojo")
-public interface EC2EndpointBuilderFactory {
-
-
-    /**
-     * Builder for endpoint for the AWS Elastic Compute Cloud (EC2) component.
-     */
-    public interface EC2EndpointBuilder extends EndpointProducerBuilder {
-        /**
-         * Setting the autoDiscoverClient mechanism, if true, the component 
will
-         * look for a client instance in the registry automatically otherwise 
it
-         * will skip that checking.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: true
-         * Group: common
-         * 
-         * @param autoDiscoverClient the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder autoDiscoverClient(boolean 
autoDiscoverClient) {
-            doSetProperty("autoDiscoverClient", autoDiscoverClient);
-            return this;
-        }
-        /**
-         * Setting the autoDiscoverClient mechanism, if true, the component 
will
-         * look for a client instance in the registry automatically otherwise 
it
-         * will skip that checking.
-         * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
-         * 
-         * Default: true
-         * Group: common
-         * 
-         * @param autoDiscoverClient the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder autoDiscoverClient(String 
autoDiscoverClient) {
-            doSetProperty("autoDiscoverClient", autoDiscoverClient);
-            return this;
-        }
-        /**
-         * Amazon AWS Access Key.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param accessKey the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder accessKey(String accessKey) {
-            doSetProperty("accessKey", accessKey);
-            return this;
-        }
-        /**
-         * To use a existing configured AmazonEC2Client as client.
-         * 
-         * The option is a:
-         * &lt;code&gt;com.amazonaws.services.ec2.AmazonEC2&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param amazonEc2Client the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder amazonEc2Client(Object amazonEc2Client) {
-            doSetProperty("amazonEc2Client", amazonEc2Client);
-            return this;
-        }
-        /**
-         * To use a existing configured AmazonEC2Client as client.
-         * 
-         * The option will be converted to a
-         * &lt;code&gt;com.amazonaws.services.ec2.AmazonEC2&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param amazonEc2Client the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder amazonEc2Client(String amazonEc2Client) {
-            doSetProperty("amazonEc2Client", amazonEc2Client);
-            return this;
-        }
-        /**
-         * Whether the producer should be started lazy (on the first message).
-         * By starting lazy you can use this to allow CamelContext and routes 
to
-         * startup in situations where a producer may otherwise fail during
-         * starting and cause the route to fail being started. By deferring 
this
-         * startup to be lazy then the startup failure can be handled during
-         * routing messages via Camel's routing error handlers. Beware that 
when
-         * the first message is processed then creating and starting the
-         * producer may take a little time and prolong the total processing 
time
-         * of the processing.
-         * 
-         * The option is a: &lt;code&gt;boolean&lt;/code&gt; type.
-         * 
-         * Default: false
-         * Group: producer
-         * 
-         * @param lazyStartProducer the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder lazyStartProducer(boolean 
lazyStartProducer) {
-            doSetProperty("lazyStartProducer", lazyStartProducer);
-            return this;
-        }
-        /**
-         * Whether the producer should be started lazy (on the first message).
-         * By starting lazy you can use this to allow CamelContext and routes 
to
-         * startup in situations where a producer may otherwise fail during
-         * starting and cause the route to fail being started. By deferring 
this
-         * startup to be lazy then the startup failure can be handled during
-         * routing messages via Camel's routing error handlers. Beware that 
when
-         * the first message is processed then creating and starting the
-         * producer may take a little time and prolong the total processing 
time
-         * of the processing.
-         * 
-         * The option will be converted to a &lt;code&gt;boolean&lt;/code&gt;
-         * type.
-         * 
-         * Default: false
-         * Group: producer
-         * 
-         * @param lazyStartProducer the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder lazyStartProducer(String lazyStartProducer) 
{
-            doSetProperty("lazyStartProducer", lazyStartProducer);
-            return this;
-        }
-        /**
-         * The operation to perform. It can be createAndRunInstances,
-         * startInstances, stopInstances, terminateInstances, 
describeInstances,
-         * describeInstancesStatus, rebootInstances, monitorInstances,
-         * unmonitorInstances, createTags or deleteTags.
-         * 
-         * The option is a:
-         * 
&lt;code&gt;org.apache.camel.component.aws.ec2.EC2Operations&lt;/code&gt; type.
-         * 
-         * Required: true
-         * Group: producer
-         * 
-         * @param operation the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder operation(EC2Operations operation) {
-            doSetProperty("operation", operation);
-            return this;
-        }
-        /**
-         * The operation to perform. It can be createAndRunInstances,
-         * startInstances, stopInstances, terminateInstances, 
describeInstances,
-         * describeInstancesStatus, rebootInstances, monitorInstances,
-         * unmonitorInstances, createTags or deleteTags.
-         * 
-         * The option will be converted to a
-         * 
&lt;code&gt;org.apache.camel.component.aws.ec2.EC2Operations&lt;/code&gt; type.
-         * 
-         * Required: true
-         * Group: producer
-         * 
-         * @param operation the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder operation(String operation) {
-            doSetProperty("operation", operation);
-            return this;
-        }
-        /**
-         * To define a proxy host when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param proxyHost the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder proxyHost(String proxyHost) {
-            doSetProperty("proxyHost", proxyHost);
-            return this;
-        }
-        /**
-         * To define a proxy port when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param proxyPort the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder proxyPort(Integer proxyPort) {
-            doSetProperty("proxyPort", proxyPort);
-            return this;
-        }
-        /**
-         * To define a proxy port when instantiating the EC2 client.
-         * 
-         * The option will be converted to a
-         * &lt;code&gt;java.lang.Integer&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param proxyPort the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder proxyPort(String proxyPort) {
-            doSetProperty("proxyPort", proxyPort);
-            return this;
-        }
-        /**
-         * To define a proxy protocol when instantiating the EC2 client.
-         * 
-         * The option is a: &lt;code&gt;com.amazonaws.Protocol&lt;/code&gt;
-         * type.
-         * 
-         * Default: HTTPS
-         * Group: producer
-         * 
-         * @param proxyProtocol the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder proxyProtocol(Protocol proxyProtocol) {
-            doSetProperty("proxyProtocol", proxyProtocol);
-            return this;
-        }
-        /**
-         * To define a proxy protocol when instantiating the EC2 client.
-         * 
-         * The option will be converted to a
-         * &lt;code&gt;com.amazonaws.Protocol&lt;/code&gt; type.
-         * 
-         * Default: HTTPS
-         * Group: producer
-         * 
-         * @param proxyProtocol the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder proxyProtocol(String proxyProtocol) {
-            doSetProperty("proxyProtocol", proxyProtocol);
-            return this;
-        }
-        /**
-         * The region in which ECS 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: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param region the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder region(String region) {
-            doSetProperty("region", region);
-            return this;
-        }
-        /**
-         * Amazon AWS Secret Key.
-         * 
-         * The option is a: &lt;code&gt;java.lang.String&lt;/code&gt; type.
-         * 
-         * Group: producer
-         * 
-         * @param secretKey the value to set
-         * @return the dsl builder
-         */
-        default EC2EndpointBuilder secretKey(String secretKey) {
-            doSetProperty("secretKey", secretKey);
-            return this;
-        }
-    }
-
-    /**
-     * Proxy enum for
-     * <code>org.apache.camel.component.aws.ec2.EC2Operations</code> enum.
-     */
-    enum EC2Operations {
-        createAndRunInstances,
-        startInstances,
-        stopInstances,
-        terminateInstances,
-        describeInstances,
-        describeInstancesStatus,
-        rebootInstances,
-        monitorInstances,
-        unmonitorInstances,
-        createTags,
-        deleteTags;
-    }
-
-    /**
-     * Proxy enum for <code>com.amazonaws.Protocol</code> enum.
-     */
-    enum Protocol {
-        HTTP,
-        HTTPS;
-    }
-
-    public interface EC2Builders {
-        /**
-         * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-         * Manage AWS EC2 instances.
-         * 
-         * Category: cloud,management
-         * Since: 2.16
-         * Maven coordinates: org.apache.camel:camel-aws-ec2
-         * 
-         * Syntax: <code>aws-ec2:label</code>
-         * 
-         * Path parameter: label (required)
-         * Logical name
-         * 
-         * @param path label
-         * @return the dsl builder
-         */
-        @Deprecated
-        default EC2EndpointBuilder awsEc2(String path) {
-            return EC2EndpointBuilderFactory.endpointBuilder("aws-ec2", path);
-        }
-        /**
-         * AWS Elastic Compute Cloud (EC2) (camel-aws-ec2)
-         * Manage AWS EC2 instances.
-         * 
-         * Category: cloud,management
-         * Since: 2.16
-         * Maven coordinates: org.apache.camel:camel-aws-ec2
-         * 
-         * Syntax: <code>aws-ec2:label</code>
-         * 
-         * Path parameter: label (required)
-         * Logical name
-         * 
-         * @param componentName to use a custom component name for the endpoint
-         * instead of the default name
-         * @param path label
-         * @return the dsl builder
-         */
-        @Deprecated
-        default EC2EndpointBuilder awsEc2(String componentName, String path) {
-            return EC2EndpointBuilderFactory.endpointBuilder(componentName, 
path);
-        }
-    }
-    @Deprecated
-    static EC2EndpointBuilder endpointBuilder(String componentName, String 
path) {
-        class EC2EndpointBuilderImpl extends AbstractEndpointBuilder 
implements EC2EndpointBuilder {
-            public EC2EndpointBuilderImpl(String path) {
-                super(componentName, path);
-            }
-        }
-        return new EC2EndpointBuilderImpl(path);
-    }
-}
\ No newline at end of file

Reply via email to