/** * <p> * Short-lived token sent to an endpoint during the <code>Subscribe</code> action. * </p> * * @param token * Short-lived token sent to an endpoint during the <code>Subscribe</code> action. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfirmSubscriptionRequest withToken(String token) { setToken(token); return this; }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic for which you wish to confirm a subscription. * @param token * Short-lived token sent to an endpoint during the <code>Subscribe</code> action. */ public ConfirmSubscriptionRequest(String topicArn, String token) { setTopicArn(topicArn); setToken(token); }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) * methods to initialize any additional object members. * * @param topicArn * The ARN of the topic for which you wish to confirm a subscription. * @param token * Short-lived token sent to an endpoint during the <code>Subscribe</code> action. * @param authenticateOnUnsubscribe * Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is * <code>true</code> and the request has an AWS signature, then only the topic owner and the subscription * owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication. */ public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) { setTopicArn(topicArn); setToken(token); setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe); }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use * the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param topicArn <p> * The ARN of the topic for which you wish to confirm a * subscription. * </p> * @param token <p> * Short-lived token sent to an endpoint during the * <code>Subscribe</code> action. * </p> */ public ConfirmSubscriptionRequest(String topicArn, String token) { setTopicArn(topicArn); setToken(token); }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use * the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param topicArn <p> * The ARN of the topic for which you wish to confirm a * subscription. * </p> * @param token <p> * Short-lived token sent to an endpoint during the * <code>Subscribe</code> action. * </p> * @param authenticateOnUnsubscribe <p> * Disallows unauthenticated unsubscribes of the subscription. If * the value of this parameter is <code>true</code> and the * request has an AWS signature, then only the topic owner and * the subscription owner can unsubscribe the endpoint. The * unsubscribe action requires AWS authentication. * </p> */ public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) { setTopicArn(topicArn); setToken(token); setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe); }
ConfirmSubscriptionRequest confirmSubscriptionRequest = new ConfirmSubscriptionRequest(); confirmSubscriptionRequest.setTopicArn(topicArn); confirmSubscriptionRequest.setToken(token); return confirmSubscription(confirmSubscriptionRequest);
ConfirmSubscriptionRequest confirmSubscriptionRequest = new ConfirmSubscriptionRequest(); confirmSubscriptionRequest.setTopicArn(topicArn); confirmSubscriptionRequest.setToken(token); confirmSubscriptionRequest.setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe); return confirmSubscription(confirmSubscriptionRequest);
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use * the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param topicArn <p> * The ARN of the topic for which you wish to confirm a * subscription. * </p> * @param token <p> * Short-lived token sent to an endpoint during the * <code>Subscribe</code> action. * </p> */ public ConfirmSubscriptionRequest(String topicArn, String token) { setTopicArn(topicArn); setToken(token); }
/** * Constructs a new ConfirmSubscriptionRequest object. Callers should use * the setter or fluent setter (with...) methods to initialize any * additional object members. * * @param topicArn <p> * The ARN of the topic for which you wish to confirm a * subscription. * </p> * @param token <p> * Short-lived token sent to an endpoint during the * <code>Subscribe</code> action. * </p> * @param authenticateOnUnsubscribe <p> * Disallows unauthenticated unsubscribes of the subscription. If * the value of this parameter is <code>true</code> and the * request has an AWS signature, then only the topic owner and * the subscription owner can unsubscribe the endpoint. The * unsubscribe action requires AWS authentication. * </p> */ public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) { setTopicArn(topicArn); setToken(token); setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe); }
ConfirmSubscriptionRequest confirmSubscriptionRequest = new ConfirmSubscriptionRequest(); confirmSubscriptionRequest.setTopicArn(topicArn); confirmSubscriptionRequest.setToken(token); return confirmSubscription(confirmSubscriptionRequest);
ConfirmSubscriptionRequest confirmSubscriptionRequest = new ConfirmSubscriptionRequest(); confirmSubscriptionRequest.setTopicArn(topicArn); confirmSubscriptionRequest.setToken(token); confirmSubscriptionRequest.setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe); return confirmSubscription(confirmSubscriptionRequest);