public ConfirmSubscriptionRequest withAuthenticateOnUnsubscribe(String authenticateOnUnsubscribe) {
        setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe);
        return this;
    }
<p>
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is <code>true</code>
and the request has an Amazon Web Services signature, then only the topic owner and the subscription owner can
unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services authentication.
</p>

@param authenticateOnUnsubscribe
       Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
       <code>true</code> and the request has an Amazon Web Services signature, then only the topic owner and the
       subscription owner can unsubscribe the endpoint. The unsubscribe action requires Amazon Web Services
       authentication.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sns/src/main/java/com/amazonaws/services/sns/model/ConfirmSubscriptionRequest.java