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 7ade296134ebe8e954c8f26d3f0a9740e0f5bca3 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Tue Feb 23 07:51:47 2021 +0100 CAMEL-16115 - Remove Camel-AWS-* components - AWS-IAM --- .../component/ComponentsBuilderFactory.java | 16 +- .../dsl/AwsIamComponentBuilderFactory.java | 292 ---------------- .../builder/endpoint/StaticEndpointBuilders.java | 47 +-- .../endpoint/dsl/IAMEndpointBuilderFactory.java | 385 --------------------- 4 files changed, 2 insertions(+), 738 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 a0c0db6..3e7327b 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 @@ -390,20 +390,6 @@ public interface ComponentsBuilderFactory { return org.apache.camel.builder.component.dsl.AwsEksComponentBuilderFactory.awsEks(); } /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * @return the dsl builder - */ - @Deprecated - static org.apache.camel.builder.component.dsl.AwsIamComponentBuilderFactory.AwsIamComponentBuilder awsIam() { - return org.apache.camel.builder.component.dsl.AwsIamComponentBuilderFactory.awsIam(); - } - /** * AWS S3 Storage Service (camel-aws-s3) * Store and retrieve objects from AWS S3 Storage Service. * @@ -4792,4 +4778,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/AwsIamComponentBuilderFactory.java b/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsIamComponentBuilderFactory.java deleted file mode 100644 index a5fb609..0000000 --- a/core/camel-componentdsl/src/generated/java/org/apache/camel/builder/component/dsl/AwsIamComponentBuilderFactory.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.iam.IAMComponent; - -/** - * Manage AWS IAM instances. - * - * Generated by camel-package-maven-plugin - do not edit this file! - */ -@Generated("org.apache.camel.maven.packaging.ComponentDslMojo") -public interface AwsIamComponentBuilderFactory { - - /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * @return the dsl builder - */ - @Deprecated - static AwsIamComponentBuilder awsIam() { - return new AwsIamComponentBuilderImpl(); - } - - /** - * Builder for the AWS Identity and Access Management (IAM) component. - */ - interface AwsIamComponentBuilder extends ComponentBuilder<IAMComponent> { - /** - * 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 AwsIamComponentBuilder 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 AwsIamComponentBuilder accessKey(java.lang.String accessKey) { - doSetProperty("accessKey", accessKey); - return this; - } - /** - * The component configuration. - * - * The option is a: - * <code>org.apache.camel.component.aws.iam.IAMConfiguration</code> type. - * - * Group: producer - * - * @param configuration the value to set - * @return the dsl builder - */ - default AwsIamComponentBuilder configuration( - org.apache.camel.component.aws.iam.IAMConfiguration configuration) { - doSetProperty("configuration", configuration); - return this; - } - /** - * To use a existing configured AWS IAM as client. - * - * The option is a: - * <code>com.amazonaws.services.identitymanagement.AmazonIdentityManagement</code> type. - * - * Group: producer - * - * @param iamClient the value to set - * @return the dsl builder - */ - default AwsIamComponentBuilder iamClient( - com.amazonaws.services.identitymanagement.AmazonIdentityManagement iamClient) { - doSetProperty("iamClient", iamClient); - 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 AwsIamComponentBuilder lazyStartProducer( - boolean lazyStartProducer) { - doSetProperty("lazyStartProducer", lazyStartProducer); - return this; - } - /** - * The operation to perform. - * - * The option is a: - * <code>org.apache.camel.component.aws.iam.IAMOperations</code> type. - * - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default AwsIamComponentBuilder operation( - org.apache.camel.component.aws.iam.IAMOperations operation) { - doSetProperty("operation", operation); - return this; - } - /** - * To define a proxy host when instantiating the IAM client. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param proxyHost the value to set - * @return the dsl builder - */ - default AwsIamComponentBuilder proxyHost(java.lang.String proxyHost) { - doSetProperty("proxyHost", proxyHost); - return this; - } - /** - * To define a proxy port when instantiating the IAM client. - * - * The option is a: <code>java.lang.Integer</code> type. - * - * Group: producer - * - * @param proxyPort the value to set - * @return the dsl builder - */ - default AwsIamComponentBuilder proxyPort(java.lang.Integer proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy protocol when instantiating the IAM 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 AwsIamComponentBuilder proxyProtocol( - com.amazonaws.Protocol proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * The region in which IAM 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 AwsIamComponentBuilder 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 AwsIamComponentBuilder 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 AwsIamComponentBuilder autowiredEnabled(boolean autowiredEnabled) { - doSetProperty("autowiredEnabled", autowiredEnabled); - return this; - } - } - - class AwsIamComponentBuilderImpl - extends - AbstractComponentBuilder<IAMComponent> - implements - AwsIamComponentBuilder { - @Override - protected IAMComponent buildConcreteComponent() { - return new IAMComponent(); - } - private org.apache.camel.component.aws.iam.IAMConfiguration getOrCreateConfiguration( - org.apache.camel.component.aws.iam.IAMComponent component) { - if (component.getConfiguration() == null) { - component.setConfiguration(new org.apache.camel.component.aws.iam.IAMConfiguration()); - } - return component.getConfiguration(); - } - @Override - protected boolean setPropertyOnComponent( - Component component, - String name, - Object value) { - switch (name) { - case "autoDiscoverClient": getOrCreateConfiguration((IAMComponent) component).setAutoDiscoverClient((boolean) value); return true; - case "accessKey": getOrCreateConfiguration((IAMComponent) component).setAccessKey((java.lang.String) value); return true; - case "configuration": ((IAMComponent) component).setConfiguration((org.apache.camel.component.aws.iam.IAMConfiguration) value); return true; - case "iamClient": getOrCreateConfiguration((IAMComponent) component).setIamClient((com.amazonaws.services.identitymanagement.AmazonIdentityManagement) value); return true; - case "lazyStartProducer": ((IAMComponent) component).setLazyStartProducer((boolean) value); return true; - case "operation": getOrCreateConfiguration((IAMComponent) component).setOperation((org.apache.camel.component.aws.iam.IAMOperations) value); return true; - case "proxyHost": getOrCreateConfiguration((IAMComponent) component).setProxyHost((java.lang.String) value); return true; - case "proxyPort": getOrCreateConfiguration((IAMComponent) component).setProxyPort((java.lang.Integer) value); return true; - case "proxyProtocol": getOrCreateConfiguration((IAMComponent) component).setProxyProtocol((com.amazonaws.Protocol) value); return true; - case "region": getOrCreateConfiguration((IAMComponent) component).setRegion((java.lang.String) value); return true; - case "secretKey": getOrCreateConfiguration((IAMComponent) component).setSecretKey((java.lang.String) value); return true; - case "autowiredEnabled": ((IAMComponent) 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 762cf14..33aa950 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 @@ -2102,51 +2102,6 @@ public class StaticEndpointBuilders { return org.apache.camel.builder.endpoint.dsl.EKSEndpointBuilderFactory.endpointBuilder(componentName, path); } /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * Syntax: <code>aws-iam:label</code> - * - * Path parameter: label (required) - * Logical name - * - * @param path label - * @return the dsl builder - */ - @Deprecated - public static org.apache.camel.builder.endpoint.dsl.IAMEndpointBuilderFactory.IAMEndpointBuilder awsIam( - String path) { - return org.apache.camel.builder.endpoint.dsl.IAMEndpointBuilderFactory.endpointBuilder("aws-iam", path); - } - /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * Syntax: <code>aws-iam: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.IAMEndpointBuilderFactory.IAMEndpointBuilder awsIam( - String componentName, - String path) { - return org.apache.camel.builder.endpoint.dsl.IAMEndpointBuilderFactory.endpointBuilder(componentName, path); - } - /** * AWS S3 Storage Service (camel-aws-s3) * Store and retrieve objects from AWS S3 Storage Service. * @@ -16802,4 +16757,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/IAMEndpointBuilderFactory.java b/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAMEndpointBuilderFactory.java deleted file mode 100644 index f1b75bd..0000000 --- a/core/camel-endpointdsl/src/generated/java/org/apache/camel/builder/endpoint/dsl/IAMEndpointBuilderFactory.java +++ /dev/null @@ -1,385 +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 IAM instances. - * - * Generated by camel build tools - do NOT edit this file! - */ -@Generated("org.apache.camel.maven.packaging.EndpointDslMojo") -public interface IAMEndpointBuilderFactory { - - - /** - * Builder for endpoint for the AWS Identity and Access Management (IAM) - * component. - */ - public interface IAMEndpointBuilder 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 IAMEndpointBuilder 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 IAMEndpointBuilder 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 IAMEndpointBuilder accessKey(String accessKey) { - doSetProperty("accessKey", accessKey); - return this; - } - /** - * To use a existing configured AWS IAM as client. - * - * The option is a: - * <code>com.amazonaws.services.identitymanagement.AmazonIdentityManagement</code> type. - * - * Group: producer - * - * @param iamClient the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder iamClient(Object iamClient) { - doSetProperty("iamClient", iamClient); - return this; - } - /** - * To use a existing configured AWS IAM as client. - * - * The option will be converted to a - * <code>com.amazonaws.services.identitymanagement.AmazonIdentityManagement</code> type. - * - * Group: producer - * - * @param iamClient the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder iamClient(String iamClient) { - doSetProperty("iamClient", iamClient); - 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 IAMEndpointBuilder 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 IAMEndpointBuilder lazyStartProducer(String lazyStartProducer) { - doSetProperty("lazyStartProducer", lazyStartProducer); - return this; - } - /** - * The operation to perform. - * - * The option is a: - * <code>org.apache.camel.component.aws.iam.IAMOperations</code> type. - * - * Required: true - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder operation(IAMOperations operation) { - doSetProperty("operation", operation); - return this; - } - /** - * The operation to perform. - * - * The option will be converted to a - * <code>org.apache.camel.component.aws.iam.IAMOperations</code> type. - * - * Required: true - * Group: producer - * - * @param operation the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder operation(String operation) { - doSetProperty("operation", operation); - return this; - } - /** - * To define a proxy host when instantiating the IAM client. - * - * The option is a: <code>java.lang.String</code> type. - * - * Group: producer - * - * @param proxyHost the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder proxyHost(String proxyHost) { - doSetProperty("proxyHost", proxyHost); - return this; - } - /** - * To define a proxy port when instantiating the IAM client. - * - * The option is a: <code>java.lang.Integer</code> type. - * - * Group: producer - * - * @param proxyPort the value to set - * @return the dsl builder - */ - default IAMEndpointBuilder proxyPort(Integer proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy port when instantiating the IAM 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 IAMEndpointBuilder proxyPort(String proxyPort) { - doSetProperty("proxyPort", proxyPort); - return this; - } - /** - * To define a proxy protocol when instantiating the IAM 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 IAMEndpointBuilder proxyProtocol(Protocol proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * To define a proxy protocol when instantiating the IAM 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 IAMEndpointBuilder proxyProtocol(String proxyProtocol) { - doSetProperty("proxyProtocol", proxyProtocol); - return this; - } - /** - * The region in which IAM 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 IAMEndpointBuilder 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 IAMEndpointBuilder secretKey(String secretKey) { - doSetProperty("secretKey", secretKey); - return this; - } - } - - /** - * Proxy enum for - * <code>org.apache.camel.component.aws.iam.IAMOperations</code> enum. - */ - enum IAMOperations { - listAccessKeys, - createUser, - deleteUser, - getUser, - listUsers, - createAccessKey, - deleteAccessKey, - updateAccessKey, - createGroup, - deleteGroup, - listGroups, - addUserToGroup, - removeUserFromGroup; - } - - /** - * Proxy enum for <code>com.amazonaws.Protocol</code> enum. - */ - enum Protocol { - HTTP, - HTTPS; - } - - public interface IAMBuilders { - /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * Syntax: <code>aws-iam:label</code> - * - * Path parameter: label (required) - * Logical name - * - * @param path label - * @return the dsl builder - */ - @Deprecated - default IAMEndpointBuilder awsIam(String path) { - return IAMEndpointBuilderFactory.endpointBuilder("aws-iam", path); - } - /** - * AWS Identity and Access Management (IAM) (camel-aws-iam) - * Manage AWS IAM instances. - * - * Category: cloud,management - * Since: 2.23 - * Maven coordinates: org.apache.camel:camel-aws-iam - * - * Syntax: <code>aws-iam: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 IAMEndpointBuilder awsIam(String componentName, String path) { - return IAMEndpointBuilderFactory.endpointBuilder(componentName, path); - } - } - @Deprecated - static IAMEndpointBuilder endpointBuilder(String componentName, String path) { - class IAMEndpointBuilderImpl extends AbstractEndpointBuilder implements IAMEndpointBuilder { - public IAMEndpointBuilderImpl(String path) { - super(componentName, path); - } - } - return new IAMEndpointBuilderImpl(path); - } -} \ No newline at end of file