Class ConfirmSubscriptionRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault 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. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
Disallows unauthenticated unsubscribes of the subscription.getToken()
Short-lived token sent to an endpoint during theSubscribe
action.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
Short-lived token sent to an endpoint during theSubscribe
action.void
setTopicArn
(String topicArn) The ARN of the topic for which you wish to confirm a subscription.toString()
Returns a string representation of this object; useful for testing and debugging.withAuthenticateOnUnsubscribe
(String authenticateOnUnsubscribe) Disallows unauthenticated unsubscribes of the subscription.Short-lived token sent to an endpoint during theSubscribe
action.withTopicArn
(String topicArn) The ARN of the topic for which you wish to confirm a subscription.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
ConfirmSubscriptionRequest
public ConfirmSubscriptionRequest()Default constructor for ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
ConfirmSubscriptionRequest
Constructs a new ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
topicArn
- The ARN of the topic for which you wish to confirm a subscription.token
- Short-lived token sent to an endpoint during theSubscribe
action.
-
ConfirmSubscriptionRequest
Constructs a new ConfirmSubscriptionRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
topicArn
- The ARN of the topic for which you wish to confirm a subscription.token
- Short-lived token sent to an endpoint during theSubscribe
action.authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter istrue
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.
-
-
Method Details
-
setTopicArn
The ARN of the topic for which you wish to confirm a subscription.
- Parameters:
topicArn
- The ARN of the topic for which you wish to confirm a subscription.
-
getTopicArn
The ARN of the topic for which you wish to confirm a subscription.
- Returns:
- The ARN of the topic for which you wish to confirm a subscription.
-
withTopicArn
The ARN of the topic for which you wish to confirm a subscription.
- Parameters:
topicArn
- The ARN of the topic for which you wish to confirm a subscription.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setToken
Short-lived token sent to an endpoint during the
Subscribe
action.- Parameters:
token
- Short-lived token sent to an endpoint during theSubscribe
action.
-
getToken
Short-lived token sent to an endpoint during the
Subscribe
action.- Returns:
- Short-lived token sent to an endpoint during the
Subscribe
action.
-
withToken
Short-lived token sent to an endpoint during the
Subscribe
action.- Parameters:
token
- Short-lived token sent to an endpoint during theSubscribe
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAuthenticateOnUnsubscribe
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.- Parameters:
authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter istrue
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.
-
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.- Returns:
- 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.
-
withAuthenticateOnUnsubscribe
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.- Parameters:
authenticateOnUnsubscribe
- Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter istrue
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-