All Downloads are FREE. Search and download functionalities are using the official Maven repository.

macros.asyncclientinterface.InterfaceMethodForOperation.ftl Maven / Gradle / Ivy

<#macro content metadata operationModel>

${operationModel.getAsyncDocumentation(metadata)}
<#if operationModel.deprecated>
  @Deprecated

${operationModel.asyncFutureType} ${operationModel.methodName}Async(
    ${operationModel.input.variableType} ${operationModel.input.variableName});

${operationModel.getAsyncDocumentationWithHandler(metadata)}
<#if operationModel.deprecated>
  @Deprecated

${operationModel.asyncFutureType} ${operationModel.methodName}Async(
    ${operationModel.input.variableType} ${operationModel.input.variableName},
    ${operationModel.asyncHandlerType} asyncHandler);
<#if operationModel.simpleMethodForms??>
  <#list operationModel.simpleMethodForms as form>

    /**
     * Simplified method form for invoking the ${operationModel.operationName} operation.
     *
     * @see #${operationModel.methodName}Async(${operationModel.input.variableType})
     */
    <#if operationModel.deprecated || form.deprecated>
      @Deprecated
    
    ${operationModel.asyncFutureType} ${operationModel.methodName}Async(${form.argumentsDeclaration});

    /**
     * Simplified method form for invoking the ${operationModel.operationName}
     * operation with an AsyncHandler.
     *
     * @see #${operationModel.methodName}Async(${operationModel.input.variableType}, com.amazonaws.handlers.AsyncHandler)
     */
    <#if operationModel.deprecated || form.deprecated>
    @Deprecated
    
    ${operationModel.asyncFutureType} ${operationModel.methodName}Async(
        <#if form.arguments?has_content>
          ${form.argumentsDeclaration},
        
        ${operationModel.asyncHandlerType} asyncHandler);
  






© 2015 - 2025 Weber Informatics LLC | Privacy Policy