@ Override public java . util . concurrent . Future < ConfirmSubscriptionResult > confirmSubscriptionAsync ( String topicArn , String token , String authenticateOnUnsubscribe , com . amazonaws . handlers . AsyncHandler < ConfirmSubscriptionRequest , ConfirmSubscriptionResult > asyncHandler ) { return confirmSubscriptionAsync ( new ConfirmSubscriptionRequest ( ) . withTopicArn ( topicArn ) . withToken ( token ) . withAuthenticateOnUnsubscribe ( authenticateOnUnsubscribe ) , asyncHandler ) ; }
Simplified method form for invoking the ConfirmSubscription operation with an AsyncHandler .