@Override
    public java.util.concurrent.Future<AddPermissionResult> addPermissionAsync(String queueUrl, String label, java.util.List<String> aWSAccountIds,
            java.util.List<String> actions, com.amazonaws.handlers.AsyncHandler<AddPermissionRequest, AddPermissionResult> asyncHandler) {

        return addPermissionAsync(new AddPermissionRequest().withQueueUrl(queueUrl).withLabel(label).withAWSAccountIds(aWSAccountIds).withActions(actions),
                asyncHandler);
    }
@ Override public java . util . concurrent . Future < AddPermissionResult > addPermissionAsync ( String queueUrl , String label , java . util . List < String > aWSAccountIds , java . util . List < String > actions , com . amazonaws . handlers . AsyncHandler < AddPermissionRequest , AddPermissionResult > asyncHandler ) { return addPermissionAsync ( new AddPermissionRequest ( ) . withQueueUrl ( queueUrl ) . withLabel ( label ) . withAWSAccountIds ( aWSAccountIds ) . withActions ( actions ) , asyncHandler ) ; }
Simplified method form for invoking the AddPermission operation with an AsyncHandler.

@see #addPermissionAsync(AddPermissionRequest, com.amazonaws.handlers.AsyncHandler)