@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConfirmSubscriptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input for ConfirmSubscription action.
NOOP
Constructor and Description |
---|
ConfirmSubscriptionRequest()
Default constructor for ConfirmSubscriptionRequest object.
|
ConfirmSubscriptionRequest(String topicArn,
String token)
Constructs a new ConfirmSubscriptionRequest object.
|
ConfirmSubscriptionRequest(String topicArn,
String token,
String authenticateOnUnsubscribe)
Constructs a new ConfirmSubscriptionRequest object.
|
Modifier and Type | Method and Description |
---|---|
ConfirmSubscriptionRequest |
clone() |
boolean |
equals(Object obj) |
String |
getAuthenticateOnUnsubscribe()
Disallows unauthenticated unsubscribes of the subscription.
|
String |
getToken()
Short-lived token sent to an endpoint during the
Subscribe action. |
String |
getTopicArn()
The ARN of the topic for which you wish to confirm a subscription.
|
int |
hashCode() |
void |
setAuthenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription.
|
void |
setToken(String token)
Short-lived token sent to an endpoint during the
Subscribe action. |
void |
setTopicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.
|
String |
toString()
Returns a string representation of this object.
|
ConfirmSubscriptionRequest |
withAuthenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription.
|
ConfirmSubscriptionRequest |
withToken(String token)
Short-lived token sent to an endpoint during the
Subscribe action. |
ConfirmSubscriptionRequest |
withTopicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public ConfirmSubscriptionRequest()
public ConfirmSubscriptionRequest(String topicArn, String token)
topicArn
- The ARN of the topic for which you wish to confirm a subscription.token
- Short-lived token sent to an endpoint during the Subscribe
action.public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe)
topicArn
- The ARN of the topic for which you wish to confirm a subscription.token
- Short-lived token sent to an endpoint during the Subscribe
action.authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
true
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 void setTopicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.
topicArn
- The ARN of the topic for which you wish to confirm a subscription.public String getTopicArn()
The ARN of the topic for which you wish to confirm a subscription.
public ConfirmSubscriptionRequest withTopicArn(String topicArn)
The ARN of the topic for which you wish to confirm a subscription.
topicArn
- The ARN of the topic for which you wish to confirm a subscription.public void setToken(String token)
Short-lived token sent to an endpoint during the Subscribe
action.
token
- Short-lived token sent to an endpoint during the Subscribe
action.public String getToken()
Short-lived token sent to an endpoint during the Subscribe
action.
Subscribe
action.public ConfirmSubscriptionRequest withToken(String token)
Short-lived token sent to an endpoint during the Subscribe
action.
token
- Short-lived token sent to an endpoint during the Subscribe
action.public void setAuthenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true
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.
authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
true
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 String getAuthenticateOnUnsubscribe()
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true
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.
true
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 withAuthenticateOnUnsubscribe(String authenticateOnUnsubscribe)
Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is true
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.
authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is
true
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 String toString()
toString
in class Object
Object.toString()
public ConfirmSubscriptionRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2021. All rights reserved.