public class ListSubscriptionsByTopicRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Input for ListSubscriptionsByTopic action.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
nextToken
Token returned by the previous
ListSubscriptionsByTopic
request. |
private java.lang.String |
topicArn
The ARN of the topic for which you wish to find subscriptions.
|
NOOP
Constructor and Description |
---|
ListSubscriptionsByTopicRequest()
Default constructor for ListSubscriptionsByTopicRequest object.
|
ListSubscriptionsByTopicRequest(java.lang.String topicArn)
Constructs a new ListSubscriptionsByTopicRequest object.
|
ListSubscriptionsByTopicRequest(java.lang.String topicArn,
java.lang.String nextToken)
Constructs a new ListSubscriptionsByTopicRequest object.
|
Modifier and Type | Method and Description |
---|---|
ListSubscriptionsByTopicRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
Token returned by the previous
ListSubscriptionsByTopic
request. |
java.lang.String |
getTopicArn()
The ARN of the topic for which you wish to find subscriptions.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
Token returned by the previous
ListSubscriptionsByTopic
request. |
void |
setTopicArn(java.lang.String topicArn)
The ARN of the topic for which you wish to find subscriptions.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListSubscriptionsByTopicRequest |
withNextToken(java.lang.String nextToken)
Token returned by the previous
ListSubscriptionsByTopic
request. |
ListSubscriptionsByTopicRequest |
withTopicArn(java.lang.String topicArn)
The ARN of the topic for which you wish to find subscriptions.
|
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
private java.lang.String topicArn
The ARN of the topic for which you wish to find subscriptions.
private java.lang.String nextToken
Token returned by the previous ListSubscriptionsByTopic
request.
public ListSubscriptionsByTopicRequest()
public ListSubscriptionsByTopicRequest(java.lang.String topicArn)
topicArn
- The ARN of the topic for which you wish to find subscriptions.public ListSubscriptionsByTopicRequest(java.lang.String topicArn, java.lang.String nextToken)
topicArn
- The ARN of the topic for which you wish to find subscriptions.nextToken
- Token returned by the previous
ListSubscriptionsByTopic
request.public void setTopicArn(java.lang.String topicArn)
The ARN of the topic for which you wish to find subscriptions.
topicArn
- The ARN of the topic for which you wish to find subscriptions.public java.lang.String getTopicArn()
The ARN of the topic for which you wish to find subscriptions.
public ListSubscriptionsByTopicRequest withTopicArn(java.lang.String topicArn)
The ARN of the topic for which you wish to find subscriptions.
topicArn
- The ARN of the topic for which you wish to find subscriptions.public void setNextToken(java.lang.String nextToken)
Token returned by the previous ListSubscriptionsByTopic
request.
nextToken
- Token returned by the previous
ListSubscriptionsByTopic
request.public java.lang.String getNextToken()
Token returned by the previous ListSubscriptionsByTopic
request.
ListSubscriptionsByTopic
request.public ListSubscriptionsByTopicRequest withNextToken(java.lang.String nextToken)
Token returned by the previous ListSubscriptionsByTopic
request.
nextToken
- Token returned by the previous
ListSubscriptionsByTopic
request.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListSubscriptionsByTopicRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()