
templates.common.AsyncClientInterface.ftl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-java-sdk-code-generator Show documentation
Show all versions of aws-java-sdk-code-generator Show documentation
The AWS SDK for Java - Code Generator module holds the classes and templates required to generate the AWS Java SDK clients for AWS services.
${fileHeader}
package ${metadata.packageName};
import ${metadata.packageName}.model.*;
/**
* Interface for accessing ${metadata.serviceName} asynchronously. Each
* asynchronous method will return a Java Future object representing the
* asynchronous operation; overloads which accept an {@code AsyncHandler} can
* be used to receive notification when an asynchronous operation completes.
<#if metadata.documentation??>
*
* ${metadata.documentation}
#if>
*/
public interface ${metadata.asyncInterface} extends ${metadata.syncInterface} {
<#list operations?values as operationModel>
<@AsyncInterfaceMethodForOperationMacro.content metadata operationModel />
#list>
<#if AdditionalInterfaceMethodsMacro??>
<@AdditionalInterfaceMethodsMacro.content .data_model />
#if>
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy