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 9f8f549f11f2e2097fbaba3e76a5379f55222cc4 Author: Andrea Cosentino <[email protected]> AuthorDate: Tue Feb 23 08:30:00 2021 +0100 CAMEL-16115 - Remove Camel-AWS-* components - AWS-EKS --- .../component/ComponentsBuilderFactory.java | 16 +- .../dsl/AwsEksComponentBuilderFactory.java | 292 ---------------- .../builder/endpoint/StaticEndpointBuilders.java | 47 +-- .../endpoint/dsl/EKSEndpointBuilderFactory.java | 376 --------------------- 4 files changed, 2 insertions(+), 729 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 a99abbb..4bb7c63 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 @@ -376,20 +376,6 @@ public interface ComponentsBuilderFactory { return org.apache.camel.builder.component.dsl.AwsEcsComponentBuilderFactory.awsEcs(); } /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * @return the dsl builder - */ - @Deprecated - static org.apache.camel.builder.component.dsl.AwsEksComponentBuilderFactory.AwsEksComponentBuilder awsEks() { - return org.apache.camel.builder.component.dsl.AwsEksComponentBuilderFactory.awsEks(); - } - /** * AWS S3 Storage Service (camel-aws-s3) * Store and retrieve objects from AWS S3 Storage Service. * @@ -4778,4 +4764,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/AwsEksComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsEksComponentBuilderFactory.java deleted file mode 100644 index 30ba23c..0000000 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsEksComponentBuilderFactory.java +++ /dev/null @@ -1,292 +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.eks.EKSComponent; - -/** - * Manage AWS EKS cluster instances. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Generated("org.apache.camel.maven.packaging.ComponentDslMojo") -public interface AwsEksComponentBuilderFactory { - - /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * @return the dsl builder - */ - @Deprecated - static AwsEksComponentBuilder awsEks() { - return new AwsEksComponentBuilderImpl(); - } - - /** - * Builder for the AWS Elastic Kubernetes Service (EKS) component. - */ - interface AwsEksComponentBuilder extends ComponentBuilder<EKSComponent> { - /** - * 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: <code>boolean</code> type. - * - * Default: true - * Group: common - * - * @param autoDiscoverClient the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder autoDiscoverClient( - boolean autoDiscoverClient) { - doSetProperty("autoDiscoverClient", autoDiscoverClient); - return 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 AwsEksComponentBuilder accessKey(java.lang.String accessKey) { - doSetProperty("accessKey", accessKey); - return this; - } - /** - * The component configuration. - * - * The option is a: - * <code>org.apache.camel.component.aws.eks.EKSConfiguration</code> type. - * - * Group: producer - * - * @param configuration the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder configuration( - org.apache.camel.component.aws.eks.EKSConfiguration configuration) { - doSetProperty("configuration", configuration); - return this; - } - /** - * To use a existing configured AWS EKS as client. - * - * The option is a: - * <code>com.amazonaws.services.eks.AmazonEKS</code> type. - * - * Group: producer - * - * @param eksClient the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder eksClient( - com.amazonaws.services.eks.AmazonEKS eksClient) { - doSetProperty("eksClient", eksClient); - 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: <code>boolean</code> type. - * - * Default: false - * Group: producer - * - * @param lazyStartProducer the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder lazyStartProducer( - boolean lazyStartProducer) { - doSetProperty("lazyStartProducer", lazyStartProducer); - return this; - } - /** - * The operation to perform. - * - * The option is a: - * <code>org.apache.camel.component.aws.eks.EKSOperations</code> type. - * - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder operation( - org.apache.camel.component.aws.eks.EKSOperations operation) { - doSetProperty("operation", operation); - return this; - } - /** - * To define a proxy host when instantiating the EKS client. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param proxyHost the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder proxyHost(java.lang.String proxyHost) { - doSetProperty("proxyHost", proxyHost); - return this; - } - /** - * To define a proxy port when instantiating the EKS client. - * - * The option is a: <code>java.lang.Integer</code> type. - * - * Group: producer - * - * @param proxyPort the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder proxyPort(java.lang.Integer proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy protocol when instantiating the EKS client. - * - * The option is a: <code>com.amazonaws.Protocol</code> - * type. - * - * Default: HTTPS - * Group: producer - * - * @param proxyProtocol the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder proxyProtocol( - com.amazonaws.Protocol proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * The region in which EKS client needs to work. When using this - * parameter, the configuration will expect the capitalized name of the - * region (for example AP_EAST_1) You'll need to use the name - * Regions.EU_WEST_1.name(). - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param region the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder region(java.lang.String region) { - 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 AwsEksComponentBuilder 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: <code>boolean</code> type. - * - * Default: true - * Group: advanced - * - * @param autowiredEnabled the value to set - * @return the dsl builder - */ - default AwsEksComponentBuilder autowiredEnabled(boolean autowiredEnabled) { - doSetProperty("autowiredEnabled", autowiredEnabled); - return this; - } - } - - class AwsEksComponentBuilderImpl - extends - AbstractComponentBuilder<EKSComponent> - implements - AwsEksComponentBuilder { - @Override - protected EKSComponent buildConcreteComponent() { - return new EKSComponent(); - } - private org.apache.camel.component.aws.eks.EKSConfiguration getOrCreateConfiguration( - org.apache.camel.component.aws.eks.EKSComponent component) { - if (component.getConfiguration() == null) { - component.setConfiguration(new org.apache.camel.component.aws.eks.EKSConfiguration()); - } - return component.getConfiguration(); - } - @Override - protected boolean setPropertyOnComponent( - Component component, - String name, - Object value) { - switch (name) { - case "autoDiscoverClient": getOrCreateConfiguration((EKSComponent) component).setAutoDiscoverClient((boolean) value); return true; - case "accessKey": getOrCreateConfiguration((EKSComponent) component).setAccessKey((java.lang.String) value); return true; - case "configuration": ((EKSComponent) component).setConfiguration((org.apache.camel.component.aws.eks.EKSConfiguration) value); return true; - case "eksClient": getOrCreateConfiguration((EKSComponent) component).setEksClient((com.amazonaws.services.eks.AmazonEKS) value); return true; - case "lazyStartProducer": ((EKSComponent) component).setLazyStartProducer((boolean) value); return true; - case "operation": getOrCreateConfiguration((EKSComponent) component).setOperation((org.apache.camel.component.aws.eks.EKSOperations) value); return true; - case "proxyHost": getOrCreateConfiguration((EKSComponent) component).setProxyHost((java.lang.String) value); return true; - case "proxyPort": getOrCreateConfiguration((EKSComponent) component).setProxyPort((java.lang.Integer) value); return true; - case "proxyProtocol": getOrCreateConfiguration((EKSComponent) component).setProxyProtocol((com.amazonaws.Protocol) value); return true; - case "region": getOrCreateConfiguration((EKSComponent) component).setRegion((java.lang.String) value); return true; - case "secretKey": getOrCreateConfiguration((EKSComponent) component).setSecretKey((java.lang.String) value); return true; - case "autowiredEnabled": ((EKSComponent) 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 f3ddee9..ab1f063 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 @@ -2057,51 +2057,6 @@ public class StaticEndpointBuilders { return org.apache.camel.builder.endpoint.dsl.ECSEndpointBuilderFactory.endpointBuilder(componentName, path); } /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * Syntax: <code>aws-eks:label</code> - * - * Path parameter: label (required) - * Logical name - * - * @param path label - * @return the dsl builder - */ - @Deprecated - public static org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory.EKSEndpointBuilder awsEks( - String path) { - return org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory.endpointBuilder("aws-eks", path); - } - /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * Syntax: <code>aws-eks: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.EKSEndpointBuilderFactory.EKSEndpointBuilder awsEks( - String componentName, - String path) { - return org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory.endpointBuilder(componentName, path); - } - /** * AWS S3 Storage Service (camel-aws-s3) * Store and retrieve objects from AWS S3 Storage Service. * @@ -16757,4 +16712,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/EKSEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKSEndpointBuilderFactory.java deleted file mode 100644 index edd8c56f..0000000 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/EKSEndpointBuilderFactory.java +++ /dev/null @@ -1,376 +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 EKS cluster instances. - * - * Generated by camel build tools - do NOT edit this file! - */ -@Generated("org.apache.camel.maven.packaging.EndpointDslMojo") -public interface EKSEndpointBuilderFactory { - - - /** - * Builder for endpoint for the AWS Elastic Kubernetes Service (EKS) - * component. - */ - public interface EKSEndpointBuilder 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: <code>boolean</code> type. - * - * Default: true - * Group: common - * - * @param autoDiscoverClient the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder 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 <code>boolean</code> - * type. - * - * Default: true - * Group: common - * - * @param autoDiscoverClient the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder autoDiscoverClient(String autoDiscoverClient) { - doSetProperty("autoDiscoverClient", autoDiscoverClient); - return 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 EKSEndpointBuilder accessKey(String accessKey) { - doSetProperty("accessKey", accessKey); - return this; - } - /** - * To use a existing configured AWS EKS as client. - * - * The option is a: - * <code>com.amazonaws.services.eks.AmazonEKS</code> type. - * - * Group: producer - * - * @param eksClient the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder eksClient(Object eksClient) { - doSetProperty("eksClient", eksClient); - return this; - } - /** - * To use a existing configured AWS EKS as client. - * - * The option will be converted to a - * <code>com.amazonaws.services.eks.AmazonEKS</code> type. - * - * Group: producer - * - * @param eksClient the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder eksClient(String eksClient) { - doSetProperty("eksClient", eksClient); - 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: <code>boolean</code> type. - * - * Default: false - * Group: producer - * - * @param lazyStartProducer the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder 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 <code>boolean</code> - * type. - * - * Default: false - * Group: producer - * - * @param lazyStartProducer the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder lazyStartProducer(String lazyStartProducer) { - doSetProperty("lazyStartProducer", lazyStartProducer); - return this; - } - /** - * The operation to perform. - * - * The option is a: - * <code>org.apache.camel.component.aws.eks.EKSOperations</code> type. - * - * Required: true - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder operation(EKSOperations operation) { - doSetProperty("operation", operation); - return this; - } - /** - * The operation to perform. - * - * The option will be converted to a - * <code>org.apache.camel.component.aws.eks.EKSOperations</code> type. - * - * Required: true - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder operation(String operation) { - doSetProperty("operation", operation); - return this; - } - /** - * To define a proxy host when instantiating the EKS client. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param proxyHost the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder proxyHost(String proxyHost) { - doSetProperty("proxyHost", proxyHost); - return this; - } - /** - * To define a proxy port when instantiating the EKS client. - * - * The option is a: <code>java.lang.Integer</code> type. - * - * Group: producer - * - * @param proxyPort the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder proxyPort(Integer proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy port when instantiating the EKS client. - * - * The option will be converted to a - * <code>java.lang.Integer</code> type. - * - * Group: producer - * - * @param proxyPort the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder proxyPort(String proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy protocol when instantiating the EKS client. - * - * The option is a: <code>com.amazonaws.Protocol</code> - * type. - * - * Default: HTTPS - * Group: producer - * - * @param proxyProtocol the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder proxyProtocol(Protocol proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * To define a proxy protocol when instantiating the EKS client. - * - * The option will be converted to a - * <code>com.amazonaws.Protocol</code> type. - * - * Default: HTTPS - * Group: producer - * - * @param proxyProtocol the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder proxyProtocol(String proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * The region in which EKS client needs to work. When using this - * parameter, the configuration will expect the capitalized name of the - * region (for example AP_EAST_1) You'll need to use the name - * Regions.EU_WEST_1.name(). - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param region the value to set - * @return the dsl builder - */ - default EKSEndpointBuilder region(String region) { - 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 EKSEndpointBuilder secretKey(String secretKey) { - doSetProperty("secretKey", secretKey); - return this; - } - } - - /** - * Proxy enum for - * <code>org.apache.camel.component.aws.eks.EKSOperations</code> enum. - */ - enum EKSOperations { - listClusters, - describeCluster, - createCluster, - deleteCluster; - } - - /** - * Proxy enum for <code>com.amazonaws.Protocol</code> enum. - */ - enum Protocol { - HTTP, - HTTPS; - } - - public interface EKSBuilders { - /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * Syntax: <code>aws-eks:label</code> - * - * Path parameter: label (required) - * Logical name - * - * @param path label - * @return the dsl builder - */ - @Deprecated - default EKSEndpointBuilder awsEks(String path) { - return EKSEndpointBuilderFactory.endpointBuilder("aws-eks", path); - } - /** - * AWS Elastic Kubernetes Service (EKS) (camel-aws-eks) - * Manage AWS EKS cluster instances. - * - * Category: cloud,management - * Since: 3.0 - * Maven coordinates: org.apache.camel:camel-aws-eks - * - * Syntax: <code>aws-eks: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 EKSEndpointBuilder awsEks(String componentName, String path) { - return EKSEndpointBuilderFactory.endpointBuilder(componentName, path); - } - } - @Deprecated - static EKSEndpointBuilder endpointBuilder(String componentName, String path) { - class EKSEndpointBuilderImpl extends AbstractEndpointBuilder implements EKSEndpointBuilder { - public EKSEndpointBuilderImpl(String path) { - super(componentName, path); - } - } - return new EKSEndpointBuilderImpl(path); - } -} \ No newline at end of file
